pve-manager/services/pvescheduler.service
Dominik Csapak 237102bd3d pvescheduler service: order startup after pve-guests
This way, a running backup cannot prevent pve-guests from starting a
virtual guest which was marked with 'onboot'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-28 10:34:50 +01:00

19 lines
412 B
Desktop File

[Unit]
Description=Proxmox VE scheduler
ConditionPathExists=/usr/bin/pvescheduler
Wants=pve-cluster.service
After=pve-cluster.service
After=pve-guests.service
After=pve-storage.target
[Service]
ExecStart=/usr/bin/pvescheduler start
ExecStop=/usr/bin/pvescheduler stop
ExecReload=/usr/bin/pvescheduler restart
PIDFile=/var/run/pvescheduler.pid
KillMode=process
Type=forking
[Install]
WantedBy=multi-user.target