]> git.proxmox.com Git - lxcfs.git/commitdiff
postinst: add daemon-reload call to avoid systemd warning
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 8 Apr 2020 07:47:12 +0000 (09:47 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 8 Apr 2020 07:47:12 +0000 (09:47 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
debian/lxcfs.postinst

index 4253b2459ad199a2b467bfeb7b8c7cfa68634da5..1fd7dcee74b966ee663c6586c4a9ed0ba09419b9 100644 (file)
@@ -12,6 +12,7 @@ case "$1" in
 
     unit=lxcfs.service
     if systemctl -q is-enabled "$unit"; then
+        systemctl --system daemon-reload >/dev/null || true
         deb-systemd-invoke $dh_action "$unit"
     fi
   ;;