pve-daily-update.service: add Wants/After for pve-cluster.service

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>
This commit is contained in:
Thomas Lamprecht 2018-03-23 11:39:49 +01:00 committed by Fabian Grünbichler
parent 27705b8215
commit 6720a01c78

View 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