with the use of systemd the /etc/init.d/pveproxy restart call got intercepted and redirected to systemd, which did an restart. But, that is a behvaior change to the intention of the init.d script, which would not restart but reload the service. Thus change this to systemds equivalent: systemctl try-reload-or-restart pveproxy.service Which tries to reload, if the unit supports it, and only if that does not worked it restarts. Same for spiceproxy. Reported-by: Stefan Priebe <s.priebe@profihost.ag> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 lines
295 B
Plaintext
15 lines
295 B
Plaintext
/var/log/pveproxy/access.log {
|
|
rotate 7
|
|
daily
|
|
missingok
|
|
compress
|
|
delaycompress
|
|
notifempty
|
|
create 640 www-data www-data
|
|
sharedscripts
|
|
postrotate
|
|
/bin/systemctl try-reload-or-restart pveproxy.service
|
|
/bin/systemctl try-reload-or-restart spiceproxy.service
|
|
endscript
|
|
}
|