summaryrefslogtreecommitdiffstats
path: root/abs/extra/webmin/webmin.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/webmin/webmin.logrotate')
-rw-r--r--abs/extra/webmin/webmin.logrotate8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/extra/webmin/webmin.logrotate b/abs/extra/webmin/webmin.logrotate
new file mode 100644
index 0000000..6bffde4
--- /dev/null
+++ b/abs/extra/webmin/webmin.logrotate
@@ -0,0 +1,8 @@
+/var/log/webmin/miniserv.error /var/log/webmin/*.log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ /usr/bin/systemctl -q try-reload-or-restart webmin.service 2>/dev/null || true
+ endscript
+}