mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 10:51:24 +00:00
start containers in foreground when using the lxc@.service
lxc-start started to default to daemonize the container when starting this conflicts with type=simple of the systemd unit call lxc-start with -F and thus force execution in foreground that way we can feed the log to journald properly and keep type=simple Debian-Bug: https://bugs.debian.org/826100 Signed-off-by: Evgeni Golov <evgeni@golov.de>
This commit is contained in:
parent
71e4ea52bf
commit
c4e50f1d41
@ -9,7 +9,7 @@ Type=simple
|
|||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
KillSignal=SIGPWR
|
KillSignal=SIGPWR
|
||||||
TimeoutStopSec=120s
|
TimeoutStopSec=120s
|
||||||
ExecStart=@BINDIR@/lxc-start -n %i
|
ExecStart=@BINDIR@/lxc-start -F -n %i
|
||||||
# Environment=BOOTUP=serial
|
# Environment=BOOTUP=serial
|
||||||
# Environment=CONSOLETYPE=serial
|
# Environment=CONSOLETYPE=serial
|
||||||
Delegate=yes
|
Delegate=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user