]> git.proxmox.com Git - pve-manager.git/blame - bin/init.d/pve-guests.service
rename pve-manager.service to pve-guests
[pve-manager.git] / bin / init.d / pve-guests.service
CommitLineData
6675a064 1[Unit]
57de747b 2Description=PVE guests (Service providing start-on-boot and stop-all-on-shutdown)
6675a064 3ConditionPathExists=/usr/bin/pvesh
0fe0d924
TL
4RefuseManualStart=true
5RefuseManualStop=true
02a1322d 6Wants=pvestatd.service
6675a064 7Wants=pveproxy.service
ef6260a6 8Wants=spiceproxy.service
02a1322d
DM
9Wants=pve-firewall.service
10Wants=lxc.service
6675a064 11After=pveproxy.service
02a1322d 12After=pvestatd.service
ef6260a6 13After=spiceproxy.service
02a1322d
DM
14After=pve-firewall.service
15After=lxc.service
dd903b5f 16After=pve-ha-crm.service pve-ha-lrm.service
6675a064
DM
17
18[Service]
57de747b 19Environment="PVE_LOG_ID=pve-guests"
1767881b
DM
20ExecStart=/usr/bin/pvesh --nooutput create /nodes/localhost/startall
21ExecStop=-/usr/bin/vzdump -stop
22ExecStop=/usr/bin/pvesh --nooutput create /nodes/localhost/stopall
f182f336
DM
23Type=oneshot
24RemainAfterExit=yes
a26ddafe 25TimeoutSec=infinity
6675a064
DM
26
27[Install]
28WantedBy=multi-user.target
57de747b 29Alias=pve-manager.service