mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
223ba5af1d
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
18 lines
526 B
Desktop File
18 lines
526 B
Desktop File
[Unit]
|
|
Description=ifup for %I
|
|
After=local-fs.target network-pre.target networking.service systemd-sysctl.service
|
|
Before=network.target shutdown.target network-online.target
|
|
Conflicts=shutdown.target
|
|
BindsTo=sys-subsystem-net-devices-%i.device
|
|
After=sys-subsystem-net-devices-%i.device
|
|
DefaultDependencies=no
|
|
IgnoreOnIsolate=yes
|
|
|
|
[Service]
|
|
# avoid stopping on shutdown via stopping system-ifup.slice
|
|
Slice=system.slice
|
|
ExecStart=/sbin/ifup --allow=hotplug %I
|
|
ExecStop=/sbin/ifdown %I
|
|
RemainAfterExit=true
|
|
TimeoutStartSec=2min
|