[pve-devel] [PATCH manager 2/8] postinst: actually enable and start pveupdate.timer

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Mar 13 10:46:36 CET 2018


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 debian/postinst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 9f2b95a7..685f3c28 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -54,7 +54,7 @@ case "$1" in
 
     # same as dh_systemd_enable (code copied)
 
-    for timer in pvesr; do
+    for timer in pvesr pve-daily-update; do
 	deb-systemd-helper unmask $timer.timer >/dev/null || true
 
 	# was-enabled defaults to true, so new installations run enable.
@@ -90,7 +90,7 @@ case "$1" in
 	    deb-systemd-invoke reload-or-restart $service
 	done
 
-	deb-systemd-invoke start pvesr.timer >/dev/null || true
+	deb-systemd-invoke start pvesr.timer pve-daily-update.timer >/dev/null || true
     fi
 
     if test -z "$2"; then
-- 
2.14.2





More information about the pve-devel mailing list