diff --git a/debian/pmg-api.logrotate b/debian/pmg-api.logrotate new file mode 100644 index 0000000..b11e1c0 --- /dev/null +++ b/debian/pmg-api.logrotate @@ -0,0 +1,13 @@ +/var/log/pmgproxy/pmgproxy.log { + rotate 12 + monthly + missingok + compress + delaycompress + notifempty + create 640 www-data www-data + sharedscripts + postrotate + /bin/systemctl try-reload-or-restart pmgproxy.service + endscript +}