]> git.proxmox.com Git - pve-container.git/blame - src/pve-container@.service
create: refactor arch detection to run_fork_with_timeout
[pve-container.git] / src / pve-container@.service
CommitLineData
395139e2
FG
1# based on lxc@.service, but without any dependencies because
2# starting and stopping should be initiated by PVE code, not
3# systemd.
4[Unit]
5Description=PVE LXC Container: %i
6DefaultDependencies=No
7Documentation=man:lxc-start man:lxc man:pct
8
9[Service]
10Type=forking
11KillMode=mixed
12TimeoutStopSec=120s
13ExecStart=/usr/bin/lxc-start -n %i
14ExecStop=/usr/share/lxc/pve-container-stop-wrapper %i
15# Environment=BOOTUP=serial
16# Environment=CONSOLETYPE=serial
17StandardOutput=syslog
18StandardError=syslog