summaryrefslogtreecommitdiffstats
path: root/multimedia/minidlna/minidlna.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/minidlna/minidlna.logrotate')
-rw-r--r--multimedia/minidlna/minidlna.logrotate6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/minidlna/minidlna.logrotate b/multimedia/minidlna/minidlna.logrotate
new file mode 100644
index 0000000000..17bf172f49
--- /dev/null
+++ b/multimedia/minidlna/minidlna.logrotate
@@ -0,0 +1,6 @@
+/var/log/minidlna/minidlna.log {
+ sharedscripts
+ postrotate
+ /usr/bin/pkill -HUP -F /var/run/minidlna.pid 2>/dev/null || true
+ endscript
+}