You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
527 B
20 lines
527 B
[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
|