aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabi Shanker Guha <guha.rabishankar@gmail.com>2015-01-09 20:36:55 +0530
committerRabi Shanker Guha <guha.rabishankar@gmail.com>2015-01-09 20:36:55 +0530
commit539beb672b2a131a51cfe2e6300f4b9010579375 (patch)
tree6e70e0231cb73f77c4d9b401a8cc7d8f50ca4dcb /systemd
parentSystemd Wrapper: to be called from unit file (diff)
downloadnetifrc-539beb672b2a131a51cfe2e6300f4b9010579375.tar.gz
netifrc-539beb672b2a131a51cfe2e6300f4b9010579375.tar.bz2
netifrc-539beb672b2a131a51cfe2e6300f4b9010579375.zip
Unit file
Diffstat (limited to 'systemd')
-rw-r--r--systemd/net_at.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/net_at.service.in b/systemd/net_at.service.in
new file mode 100644
index 0000000..a729ec4
--- /dev/null
+++ b/systemd/net_at.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description="Gentoo Network Interface Management Scripts"
+
+[Service]
+ExecStart=@LIBEXECDIR@/sh/systemd-wrapper.sh -i %I start
+ExecStop=@LIBEXECDIR@/sh/systemd-wrapper.sh -i %I stop
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target