[lxc-devel] [lxc/master] init: add ExecReload to lxc.service to only reload profiles

Blub on Github lxc-bot at linuxcontainers.org
Tue Mar 31 13:37:04 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 425 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200331/96631433/attachment.bin>
-------------- next part --------------
From 253f36f9bc487ce861bced7e7bd4964e4849d2ec Mon Sep 17 00:00:00 2001
From: Wolfgang Bumiller <w.bumiller at proxmox.com>
Date: Tue, 31 Mar 2020 15:31:23 +0200
Subject: [PATCH] init: add ExecReload to lxc.service to only reload profiles

Signed-off-by: Wolfgang Bumiller <w.bumiller at 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 7d7bfb3eaa..e3745dc2de 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


More information about the lxc-devel mailing list