]>
Commit | Line | Data |
---|---|---|
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] | |
5 | Description=PVE LXC Container: %i | |
6 | DefaultDependencies=No | |
7 | Documentation=man:lxc-start man:lxc man:pct | |
8 | ||
9 | [Service] | |
10 | Type=forking | |
11 | KillMode=mixed | |
12 | TimeoutStopSec=120s | |
13 | ExecStart=/usr/bin/lxc-start -n %i | |
14 | ExecStop=/usr/share/lxc/pve-container-stop-wrapper %i | |
15 | # Environment=BOOTUP=serial | |
16 | # Environment=CONSOLETYPE=serial | |
17 | StandardOutput=syslog | |
18 | StandardError=syslog |