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