]> git.proxmox.com Git - mirror_lxc.git/commit
start containers in foreground when using the lxc@.service
authorEvgeni Golov <evgeni@golov.de>
Thu, 2 Jun 2016 13:38:47 +0000 (15:38 +0200)
committerEvgeni Golov <evgeni@golov.de>
Thu, 2 Jun 2016 13:42:25 +0000 (15:42 +0200)
commitc4e50f1d41277ce3be2807b6ea24e68cb33bcb20
treebd15ecb3ab0b679f74e79b1ad3ec9f2e1ea738aa
parent71e4ea52bf4abd97929d04a828fc053bd646ada5
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>
config/init/systemd/lxc@.service.in