mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 03:36:04 +00:00

Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
18 lines
436 B
SYSTEMD
18 lines
436 B
SYSTEMD
[Unit]
|
|
Description=LXC Container Initialization and Autoboot Code
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStartPre=@LIBEXECDIR@/lxc/lxc-devsetup
|
|
ExecStart=@LIBEXECDIR@/lxc/lxc-autostart-helper start
|
|
ExecStop=@LIBEXECDIR@/lxc/lxc-autostart-helper stop
|
|
# Environment=BOOTUP=serial
|
|
# Environment=CONSOLETYPE=serial
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|