ifupdown-ng/dist/debian/ifupdown-ng.networking.service
Maximilian Wilhelm bd8ad91de6 Add files required for Debian packaging
* Systemd unit file for networking.service
 * Small wrapper script called by networking.service
 * Defaults file for networking.service

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-10-02 00:55:34 +02:00

15 lines
461 B
Desktop File

[Unit]
Description=ifupdown-ng networking initialization
Documentation=man:interfaces(5) man:ifup(8) man:ifdown(8)
[Service]
Type=oneshot
RemainAfterExit=yes
SyslogIdentifier=networking
TimeoutStopSec=30s
ExecStart=/usr/share/ifupdown-ng/sbin/networking start
ExecStop=/usr/share/ifupdown-ng/sbin/networking stop
ExecRestart=/usr/share/ifupdown-ng/sbin/networking restart
[Install]
WantedBy=basic.target network.target multi-user.target network-online.target