]> git.proxmox.com Git - pve-manager.git/blobdiff - debian/pve.logrotate
access log rotate: try to reload not restart services
[pve-manager.git] / debian / pve.logrotate
index 38fdaa9b11bb31f4504d09891a21b25dd778493e..f5e615b3c306d52ad658856bb36824a8e77c6814 100644 (file)
@@ -8,7 +8,7 @@
        create 640 www-data www-data
        sharedscripts
        postrotate
-               /etc/init.d/pveproxy restart > /dev/null
-               /etc/init.d/spiceproxy restart > /dev/null
+               /bin/systemctl try-reload-or-restart pveproxy.service
+               /bin/systemctl try-reload-or-restart spiceproxy.service
        endscript
 }