1
1
Fork 0
octopus/connet.service

26 lines
679 B
SYSTEMD
Raw Normal View History

2016-03-01 01:33:34 +09:00
[Unit]
Description=MACVLAN setup
#Documentation=man:systemd-networkd.service(8)
ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
# dbus.service can be dropped once on kdbus, and systemd-udevd.service can be
# dropped once tuntap is moved to netlink
After=systemd-udevd.service dbus.service network-pre.target systemd-sysusers.service systemd-sysctl.service
Before=network.target multi-user.target shutdown.target
Conflicts=shutdown.target
Wants=network.target
[Service]
# the VT is cleared by TTYVTDisallocate
RemainAfterExit=yes
#Environment=IP_ADDR= GATEWAY_ADDR=
EnvironmentFile=/proc/1/environ
ExecStart=/connet
Type=oneshot
[Install]
WantedBy=multi-user.target