summaryrefslogtreecommitdiffstats
path: root/abs/extra/webmin/webmin.logrotate
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-01-30 22:45:13 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-01-30 22:45:13 (GMT)
commit13a82e0368a29a932dbd8de2504d84a1c7484cb2 (patch)
treec189111276e527e05d3b74993be88057d100f1f2 /abs/extra/webmin/webmin.logrotate
parentff231b1e02bed98599bf4ed4b10b9945b7af8c6e (diff)
downloadlinhes_pkgbuild-13a82e0368a29a932dbd8de2504d84a1c7484cb2.zip
linhes_pkgbuild-13a82e0368a29a932dbd8de2504d84a1c7484cb2.tar.gz
linhes_pkgbuild-13a82e0368a29a932dbd8de2504d84a1c7484cb2.tar.bz2
webmin: update to 1.941. closes #1045
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
+}