]> git.proxmox.com Git - pve-manager.git/blame - bin/init.d/pve-manager.service
pveproxy.service: add Wants=ssh.service
[pve-manager.git] / bin / init.d / pve-manager.service
CommitLineData
6675a064
DM
1[Unit]
2Description=PVE VM Manager
3ConditionPathExists=/usr/bin/pvesh
02a1322d 4Wants=pvestatd.service
6675a064 5Wants=pveproxy.service
02a1322d
DM
6Wants=pve-firewall.service
7Wants=lxc.service
6675a064 8After=pveproxy.service
02a1322d 9After=pvestatd.service
fc049c7e 10After=open-iscsi.service
02a1322d
DM
11After=pve-firewall.service
12After=lxc.service
6675a064
DM
13
14[Service]
1767881b
DM
15Environment="PVE_LOG_ID=pve-manager"
16ExecStart=/usr/bin/pvesh --nooutput create /nodes/localhost/startall
17ExecStop=-/usr/bin/vzdump -stop
18ExecStop=/usr/bin/pvesh --nooutput create /nodes/localhost/stopall
f182f336
DM
19Type=oneshot
20RemainAfterExit=yes
1767881b
DM
21StandardOutput=null
22StandardError=null
6675a064
DM
23
24[Install]
25WantedBy=multi-user.target