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
395 B
20 lines
395 B
[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
|