]> git.proxmox.com Git - pve-manager.git/blame - bin/init.d/pve-manager.service
pve-manager.service: move open-iscsi ordering to pve-storage.target
[pve-manager.git] / bin / init.d / pve-manager.service
CommitLineData
6675a064
DM
1[Unit]
2Description=PVE VM Manager
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]
1767881b
DM
19Environment="PVE_LOG_ID=pve-manager"
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