mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 21:33:49 +00:00

The Standard output type "syslog" is obsolete, causing a warning since systemd version 246 [1]. Please consider using "journal" or "journal+console" [1] https://github.com/systemd/systemd/blob/master/NEWS#L202 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
20 lines
395 B
SYSTEMD
20 lines
395 B
SYSTEMD
[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=@BINDIR@/lxc-start -F -n %i
|
|
ExecStop=@BINDIR@/lxc-stop -n %i
|
|
# Environment=BOOTUP=serial
|
|
# Environment=CONSOLETYPE=serial
|
|
Delegate=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|