aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/logging/logrotate.d/prosody
diff options
context:
space:
mode:
Diffstat (limited to 'straper/db/public/logging/logrotate.d/prosody')
-rw-r--r--straper/db/public/logging/logrotate.d/prosody12
1 files changed, 12 insertions, 0 deletions
diff --git a/straper/db/public/logging/logrotate.d/prosody b/straper/db/public/logging/logrotate.d/prosody
new file mode 100644
index 0000000..5407a18
--- /dev/null
+++ b/straper/db/public/logging/logrotate.d/prosody
@@ -0,0 +1,12 @@
+/var/log/prosody/prosody.log /var/log/prosody/prosody.err {
+ weekly
+ rotate 52
+ compress
+ delaycompress
+ create 640 prosody adm
+ postrotate
+ [ ! -e /run/prosody/prosody.pid ] || service prosody reload > /dev/null
+ endscript
+ sharedscripts
+ missingok
+}