]> git.proxmox.com Git - pve-manager.git/blob - services/pve-guests.service
update shipped appliance info index
[pve-manager.git] / services / pve-guests.service
1 [Unit]
2 Description=PVE guests
3 ConditionPathExists=/usr/bin/pvesh
4 RefuseManualStart=true
5 RefuseManualStop=true
6 Wants=pvestatd.service
7 Wants=pveproxy.service
8 Wants=spiceproxy.service
9 Wants=pve-firewall.service
10 Wants=lxc.service
11 After=pveproxy.service
12 After=pvestatd.service
13 After=spiceproxy.service
14 After=pve-firewall.service
15 After=lxc.service
16 After=pve-ha-crm.service pve-ha-lrm.service
17
18 [Service]
19 Environment="PVE_LOG_ID=pve-guests"
20 ExecStartPre=-/usr/share/pve-manager/helpers/pve-startall-delay
21 ExecStart=/usr/bin/pvesh --nooutput create /nodes/localhost/startall
22 ExecStop=-/usr/bin/vzdump -stop
23 ExecStop=/usr/bin/pvesh --nooutput create /nodes/localhost/stopall
24 Type=oneshot
25 RemainAfterExit=yes
26 TimeoutSec=infinity
27
28 [Install]
29 WantedBy=multi-user.target
30 Alias=pve-manager.service