mirror of
https://git.proxmox.com/git/lxc
synced 2025-08-17 23:22:40 +00:00

And add a patch to add an ExecReload for lxc.service. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
26 lines
893 B
Diff
26 lines
893 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
|
Date: Wed, 10 Jul 2019 14:29:54 +0200
|
|
Subject: [PATCH] init: add ExecReload to lxc.service to only reload profiles
|
|
|
|
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
|
---
|
|
config/init/systemd/lxc.service.in | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/config/init/systemd/lxc.service.in b/config/init/systemd/lxc.service.in
|
|
index 77541917e..e4c086e0a 100644
|
|
--- a/config/init/systemd/lxc.service.in
|
|
+++ b/config/init/systemd/lxc.service.in
|
|
@@ -10,6 +10,7 @@ RemainAfterExit=yes
|
|
ExecStartPre=@LIBEXECDIR@/lxc/lxc-apparmor-load
|
|
ExecStart=@LIBEXECDIR@/lxc/lxc-containers start
|
|
ExecStop=@LIBEXECDIR@/lxc/lxc-containers stop
|
|
+ExecReload=@LIBEXECDIR@/lxc/lxc-apparmor-load
|
|
# Environment=BOOTUP=serial
|
|
# Environment=CONSOLETYPE=serial
|
|
Delegate=yes
|
|
--
|
|
2.20.1
|
|
|