From 6720a01c78a1f3d7460b5929f92e19387ce64b72 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 23 Mar 2018 11:39:49 +0100 Subject: [PATCH] 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 --- 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 -