mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-05 18:29:11 +00:00
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:
parent
37bec89547
commit
1767881b4a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user