1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Mon, 20 Nov 2017 10:51:36 +0100
4 Subject: [PATCH] PVE: [Deprecated] Make lxc@.service forking
6 Previously the init process' output was dumped into the log
7 files since the service used Type=simple and
8 StandardOutput/Error=syslog.
10 Deprecated, we provide pve-container@.service instead.
12 Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
14 config/init/systemd/lxc@.service.in | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
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
23 Description=LXC Container: %i
24 # This pulls in apparmor, dev-setup, lxc-net
26 +After=lxc.service lxc-monitord.service
28 Documentation=man:lxc-start man:lxc
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