nocreate
sharedscripts
postrotate
- /bin/su -s /bin/sh - jabber /usr/sbin/ejabberdctl reopen_log
+ /bin/su -s /bin/bash - jabber /usr/sbin/ejabberdctl reopen_log > /dev/null
# ejabberd tries to rename old logs on 'reopen_log'
# in some cases this may leave empty *.0 files
for f in /var/log/ejabberd/*.0 ; do