1
1
Fork 0
octopus/services/connet.service

25 lines
658 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-online.target
2016-03-01 01:33:34 +09:00
[Service]
# the VT is cleared by TTYVTDisallocate
RemainAfterExit=yes
EnvironmentFile=/proc/1/environ
ExecStart=/usr/bin/connet
2016-03-01 01:33:34 +09:00
Type=oneshot
[Install]
WantedBy=multi-user.target