pve-manager/bin/init.d/pve-manager.service
2016-01-22 11:24:19 +01:00

29 lines
696 B
Desktop File

[Unit]
Description=PVE VM Manager
ConditionPathExists=/usr/bin/pvesh
Wants=pvestatd.service
Wants=pveproxy.service
Wants=spiceproxy.service
Wants=pve-firewall.service
Wants=lxc.service
After=pveproxy.service
After=pvestatd.service
After=spiceproxy.service
After=open-iscsi.service
After=pve-firewall.service
After=lxc.service
After=pve-ha-crm.service pve-ha-lrm.service
[Service]
Environment="PVE_LOG_ID=pve-manager"
ExecStart=/usr/bin/pvesh --nooutput create /nodes/localhost/startall
ExecStop=-/usr/bin/vzdump -stop
ExecStop=/usr/bin/pvesh --nooutput create /nodes/localhost/stopall
Type=oneshot
RemainAfterExit=yes
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target