smeserver-base/root/usr/lib/systemd/system/networking.service

19 lines
484 B
SYSTEMD
Raw Normal View History

[Unit]
Description= Network management for Koozali SME Server, using old sysvinit script
After=network-pre.target
Wants=network.target
Before=network-online.target wan.service
Conflicts=NetworkManager.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/systemd/network-pre
ExecStart=/etc/rc.d/init.d/network start
ExecStop=/etc/rc.d/init.d/network stop
ExecReload=/etc/rc.d/init.d/network restart
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target
Alias=network.service