summaryrefslogtreecommitdiff
path: root/dev-python/mwlib/files/nserve.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mwlib/files/nserve.logrotate')
-rw-r--r--dev-python/mwlib/files/nserve.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/mwlib/files/nserve.logrotate b/dev-python/mwlib/files/nserve.logrotate
new file mode 100644
index 00000000000..54cc4587335
--- /dev/null
+++ b/dev-python/mwlib/files/nserve.logrotate
@@ -0,0 +1,7 @@
+/var/log/mwlib/nserve.log {
+ su mwlib mwlib
+ missingok
+ postrotate
+ /etc/init.d/nserve restart > /dev/null 2>&1
+ endscript
+}