forked from FF-RGB/ansible
18 lines
499 B
SYSTEMD
18 lines
499 B
SYSTEMD
|
[Unit]
|
||
|
Description=ifupdown2 networking initialization
|
||
|
Documentation=man:interfaces(5) man:ifup(8) man:ifdown(8)
|
||
|
Wants=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
SyslogIdentifier=networking
|
||
|
TimeoutStopSec=30s
|
||
|
ExecStart=/usr/share/ifupdown2/sbin/start-networking start
|
||
|
ExecStop=/usr/share/ifupdown2/sbin/start-networking stop
|
||
|
ExecReload=/usr/share/ifupdown2/sbin/start-networking reload
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=basic.target network.target multi-user.target
|
||
|
WantedBy=network-online.target
|