1
1
Fork 0
octopus/services/octopus-inside.service

21 lines
507 B
SYSTEMD

[Unit]
Description=octopus-inside, systemd-nspawn network configuration injector
ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
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
[Service]
RemainAfterExit=yes
EnvironmentFile=/proc/1/environ
ExecStart=/usr/bin/octopus-inside
Type=oneshot
[Install]
WantedBy=multi-user.target