]>
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 | |
2d8021b3 | 4 | Subject: [PATCH] PVE: [Deprecated] 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 | ||
2d8021b3 WB |
10 | Deprecated, we provide pve-container@.service instead. |
11 | ||
bc7e56ac WB |
12 | Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
13 | --- | |
14 | config/init/systemd/lxc@.service.in | 6 +++--- | |
15 | 1 file changed, 3 insertions(+), 3 deletions(-) | |
16 | ||
17 | diff --git a/config/init/systemd/lxc@.service.in b/config/init/systemd/lxc@.service.in | |
18 | index a2aa2211..f312763c 100644 | |
19 | --- a/config/init/systemd/lxc@.service.in | |
20 | +++ b/config/init/systemd/lxc@.service.in | |
21 | @@ -1,15 +1,15 @@ | |
22 | [Unit] | |
23 | Description=LXC Container: %i | |
24 | # This pulls in apparmor, dev-setup, lxc-net | |
25 | -After=lxc.service | |
26 | +After=lxc.service lxc-monitord.service | |
27 | Wants=lxc.service | |
28 | Documentation=man:lxc-start man:lxc | |
29 | ||
30 | [Service] | |
31 | -Type=simple | |
32 | +Type=forking | |
33 | KillMode=mixed | |
34 | TimeoutStopSec=120s | |
35 | -ExecStart=@BINDIR@/lxc-start -F -n %i | |
36 | +ExecStart=@BINDIR@/lxc-start -n %i | |
37 | ExecStop=@BINDIR@/lxc-stop -n %i | |
38 | # Environment=BOOTUP=serial | |
39 | # Environment=CONSOLETYPE=serial | |
40 | -- | |
41 | 2.11.0 | |
42 |