mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 08:16:25 +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
|
After=lxc.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/etc/init.d/pve-manager start
|
Environment="PVE_LOG_ID=pve-manager"
|
||||||
ExecStop=/etc/init.d/pve-manager stop
|
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
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
StandardOutput=null
|
||||||
|
StandardError=null
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user