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
|
2017-01-09 12:20:23 +09:00
|
|
|
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
|
2017-01-09 12:20:23 +09:00
|
|
|
ExecStart=/usr/bin/connet
|
2016-03-01 01:33:34 +09:00
|
|
|
Type=oneshot
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|
|
|