]> git.proxmox.com Git - lxc.git/blame - debian/patches/0008-Make-lxc-.service-forking.patch
bump version to 3.0.0-3
[lxc.git] / debian / patches / 0008-Make-lxc-.service-forking.patch
CommitLineData
1513a0b5 1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
bc7e56ac
WB
2From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3Date: Mon, 20 Nov 2017 10:51:36 +0100
1513a0b5 4Subject: [PATCH] Make lxc@.service forking
bc7e56ac
WB
5
6Previously the init process' output was dumped into the log
7files since the service used Type=simple and
8StandardOutput/Error=syslog.
9
10Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
11---
12 config/init/systemd/lxc@.service.in | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/config/init/systemd/lxc@.service.in b/config/init/systemd/lxc@.service.in
16index a2aa2211..f312763c 100644
17--- a/config/init/systemd/lxc@.service.in
18+++ b/config/init/systemd/lxc@.service.in
19@@ -1,15 +1,15 @@
20 [Unit]
21 Description=LXC Container: %i
22 # This pulls in apparmor, dev-setup, lxc-net
23-After=lxc.service
24+After=lxc.service lxc-monitord.service
25 Wants=lxc.service
26 Documentation=man:lxc-start man:lxc
27
28 [Service]
29-Type=simple
30+Type=forking
31 KillMode=mixed
32 TimeoutStopSec=120s
33-ExecStart=@BINDIR@/lxc-start -F -n %i
34+ExecStart=@BINDIR@/lxc-start -n %i
35 ExecStop=@BINDIR@/lxc-stop -n %i
36 # Environment=BOOTUP=serial
37 # Environment=CONSOLETYPE=serial
38--
392.11.0
40