diff options
Diffstat (limited to 'community/prosody/prosody.logrotated')
-rw-r--r-- | community/prosody/prosody.logrotated | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/community/prosody/prosody.logrotated b/community/prosody/prosody.logrotated new file mode 100644 index 000000000..13876230f --- /dev/null +++ b/community/prosody/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 +} |