diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-04-11 18:28:22 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-04-11 18:28:22 +0200 |
commit | e9a85e651191aa9152c46ad5b7b75c4b38e77394 (patch) | |
tree | 1221057fffcb888710e836897114c0f9c7b30a3f /systemd/netcfg@.service | |
parent | 5f708051ba156b5b6d407f02b77e32521b6d449a (diff) | |
download | netctl-e9a85e651191aa9152c46ad5b7b75c4b38e77394.tar.gz netctl-e9a85e651191aa9152c46ad5b7b75c4b38e77394.tar.xz |
Systemd service files
The netcfg service provides support for the NETWORKS array in /etc/conf.d/netcfg through netcfg-daemon.
The netcfg@ service allows individual profiles to be treated as services. These services wait until a connection is established (the other service has support for backgrounding)!
Diffstat (limited to 'systemd/netcfg@.service')
-rw-r--r-- | systemd/netcfg@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/netcfg@.service b/systemd/netcfg@.service new file mode 100644 index 0000000..5c0619d --- /dev/null +++ b/systemd/netcfg@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Netcfg profile based networking service +Before=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/netcfg check-iface %i +ExecStop=-/usr/bin/netcfg down %i + +[Install] +WantedBy=multi-user.target |