gentoo-ebuilds/app-containers/lxc/files/lxc.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
527 B
Text

[Unit]
Description=LXC Container Initialization and Autoboot Code
After=network.target lxc-net.service remote-fs.target
Wants=lxc-net.service
Documentation=man:lxc-autostart man:lxc
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/usr/libexec/lxc/lxc-apparmor-load
ExecStart=/usr/libexec//lxc/lxc-containers start
ExecStop=/usr/libexec/lxc/lxc-containers stop
ExecReload=/usr/libexec/lxc/lxc-apparmor-load
# Environment=BOOTUP=serial
# Environment=CONSOLETYPE=serial
Delegate=yes
[Install]
WantedBy=multi-user.target