]> git.proxmox.com Git - lxc.git/blob - debian/patches/use-forking-systemd-service.patch
enable parallel builds
[lxc.git] / debian / patches / use-forking-systemd-service.patch
1 From ba028c2a3f73eec5e45842cc742a20471ee0d921 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Thu, 2 Feb 2017 11:15:22 +0100
4 Subject: [PATCH] init: systemd: use forking mode in lxc@.service
5
6 To avoid dumping the entire console outputs into the
7 logs
8
9 Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
10 ---
11 config/init/systemd/lxc@.service.in | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/config/init/systemd/lxc@.service.in b/config/init/systemd/lxc@.service.in
15 index 44d11e8..52c6a27 100644
16 --- a/config/init/systemd/lxc@.service.in
17 +++ b/config/init/systemd/lxc@.service.in
18 @@ -6,11 +6,11 @@ Wants=lxc.service
19 Documentation=man:lxc-start man:lxc
20
21 [Service]
22 -Type=simple
23 +Type=forking
24 KillMode=mixed
25 KillSignal=SIGPWR
26 TimeoutStopSec=120s
27 -ExecStart=@BINDIR@/lxc-start -F -n %i
28 +ExecStart=@BINDIR@/lxc-start -n %i
29 # Environment=BOOTUP=serial
30 # Environment=CONSOLETYPE=serial
31 Delegate=yes
32 --
33 2.1.4
34