mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 02:02:47 +00:00
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:
parent
27705b8215
commit
6720a01c78
@ -2,8 +2,9 @@
|
|||||||
Description=Daily PVE download activities
|
Description=Daily PVE download activities
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
Wants=pve-cluster.service
|
||||||
|
After=pve-cluster.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/pveupdate
|
ExecStart=/usr/bin/pveupdate
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user