gentoo-ebuilds/app-containers/lxc/files/lxc_at.service.5.0.0
Joonas Niilola 0d0aea3ac1
app-containers/lxc: add 5.0.0
- build system switched to meson, so dropping all keywords off,
 - some changes to handling systemd in general - there's a chance gentoo-lxc
   on systemd breaks due to this (did my best to test it but...)

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2022-07-18 10:01:04 +03:00

19 lines
395 B
Text

[Unit]
Description=LXC Container: %i
# This pulls in apparmor, dev-setup, lxc-net
After=lxc.service
Wants=lxc.service
Documentation=man:lxc-start man:lxc
[Service]
Type=simple
KillMode=mixed
TimeoutStopSec=120s
ExecStart=/usr/bin/lxc-start -F -n %i
ExecStop=/usr/bin/lxc-stop -n %i
# Environment=BOOTUP=serial
# Environment=CONSOLETYPE=serial
Delegate=yes
[Install]
WantedBy=multi-user.target