Else systemd may start this to early on boot, before pve-cluster is
up and ready, if it missed and update because the node was offline.
This fails the services as it cannot do any IPC with pmxcfs

Signed-off-by: Thomas Lamprecht <[email protected]>
---
 bin/init.d/pve-daily-update.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/init.d/pve-daily-update.service 
b/bin/init.d/pve-daily-update.service
index f174241f..9c6d2aba 100644
--- a/bin/init.d/pve-daily-update.service
+++ b/bin/init.d/pve-daily-update.service
@@ -2,8 +2,9 @@
 Description=Daily PVE download activities
 After=network-online.target
 Wants=network-online.target
+Wants=pve-cluster.service
+After=pve-cluster.service
 
 [Service]
 Type=oneshot
 ExecStart=/usr/bin/pveupdate
-
-- 
2.14.2


_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to