# based on lxc@.service, but without an install section because # starting and stopping should be initiated by PVE code, not # systemd. [Unit] Description=PVE LXC Container: %i DefaultDependencies=No After=lxc.service Wants=lxc.service Documentation=man:lxc-start man:lxc man:pct [Service] Type=simple Delegate=yes KillMode=mixed TimeoutStopSec=120s ExecStart=/usr/bin/lxc-start -F -n %i -o /dev/stderr -l DEBUG ExecStop=/usr/share/lxc/pve-container-stop-wrapper %i # Environment=BOOTUP=serial # Environment=CONSOLETYPE=serial # Prevent container init from putting all its output into the journal StandardOutput=null StandardError=file:/run/pve/ct-%i.stderr