summarylogtreecommitdiffstats
path: root/prosody.logrotated
diff options
context:
space:
mode:
authormrdrogdrog2015-11-06 19:43:16 +0100
committermrdrogdrog2015-11-06 19:43:16 +0100
commit5e6b50da41257c8a88d158624ffc0147a62ad88f (patch)
tree652744764b861714eff3d1503778613e96542660 /prosody.logrotated
downloadaur-5e6b50da41257c8a88d158624ffc0147a62ad88f.tar.gz
init commit of prosody-hg
Diffstat (limited to 'prosody.logrotated')
-rw-r--r--prosody.logrotated9
1 files changed, 9 insertions, 0 deletions
diff --git a/prosody.logrotated b/prosody.logrotated
new file mode 100644
index 000000000000..13876230fbd4
--- /dev/null
+++ b/prosody.logrotated
@@ -0,0 +1,9 @@
+/var/log/prosody/prosody.log /var/log/prosody/prosody.err {
+ # olddir /var/log/old/prosody
+ create 644 prosody prosody
+ sharedscripts
+ missingok
+ postrotate
+ /bin/kill -HUP `cat /run/prosody/prosody.pid 2> /dev/null` 2> /dev/null || true
+ endscript
+}