summaryrefslogtreecommitdiffstats
path: root/murmur/murmur.logrotate.d
diff options
context:
space:
mode:
Diffstat (limited to 'murmur/murmur.logrotate.d')
-rw-r--r--murmur/murmur.logrotate.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/murmur/murmur.logrotate.d b/murmur/murmur.logrotate.d
new file mode 100644
index 0000000..e113175
--- /dev/null
+++ b/murmur/murmur.logrotate.d
@@ -0,0 +1,6 @@
+/var/log/murmur/murmur.log {
+ missingok
+ postrotate
+ /bin/kill -HUP `cat /var/run/murmur/murmur.pid 2>/dev/null` 2> /dev/null || true
+ endscript
+}