]>
Commit | Line | Data |
---|---|---|
1513a0b5 | 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
bc7e56ac WB |
2 | From: Wolfgang Bumiller <w.bumiller@proxmox.com> |
3 | Date: Mon, 20 Nov 2017 10:51:36 +0100 | |
1513a0b5 | 4 | Subject: [PATCH] Make lxc@.service forking |
bc7e56ac WB |
5 | |
6 | Previously the init process' output was dumped into the log | |
7 | files since the service used Type=simple and | |
8 | StandardOutput/Error=syslog. | |
9 | ||
10 | Signed-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 | ||
15 | diff --git a/config/init/systemd/lxc@.service.in b/config/init/systemd/lxc@.service.in | |
16 | index 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 | -- | |
39 | 2.11.0 | |
40 |