pve-manager.service: do not invoke old init.d script

redirect stdout/stderr to null, because we already log to pve task log.
This commit is contained in:
Dietmar Maurer 2015-11-25 13:00:38 +01:00
parent 37bec89547
commit 1767881b4a

View File

@ -12,10 +12,14 @@ After=pve-firewall.service
After=lxc.service
[Service]
ExecStart=/etc/init.d/pve-manager start
ExecStop=/etc/init.d/pve-manager stop
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