]> git.proxmox.com Git - pve-manager.git/commitdiff
pve-daily-update.service: add Wants/After for pve-cluster.service
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 23 Mar 2018 10:39:49 +0000 (11:39 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 23 Mar 2018 10:52:42 +0000 (11:52 +0100)
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 <t.lamprecht@proxmox.com>
bin/init.d/pve-daily-update.service

index f174241f8081221029645083a5ef84e4a16d2f3f..9c6d2abad3f605382d62333bc7dc4d670893d87c 100644 (file)
@@ -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
-