[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