summaryrefslogtreecommitdiffstats
path: root/systemd/netcfg.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/netcfg.service')
-rw-r--r--systemd/netcfg.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/netcfg.service b/systemd/netcfg.service
new file mode 100644
index 0000000..d61d902
--- /dev/null
+++ b/systemd/netcfg.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Netcfg multi-profile daemon
+Before=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+EnvironmentFile=/etc/conf.d/netcfg
+ExecStart=/usr/bin/netcfg-daemon start
+ExecStop=/usr/bin/netcfg-daemon stop
+
+[Install]
+WantedBy=multi-user.target