Package: ejabberd Version: 14.07-4 ejabberd's postrotate script looks like this:
postrotate
su ejabberd -c '/usr/sbin/ejabberdctl reopen-log' > /dev/null
endscript
This will fail if ejabberd is not running. It should check if ejabberd is
running before trying to reopen the log (similar to what Apache logrotate does):
'/usr/sbin/ejabberdctl status && /usr/sbin/ejabberdctl reopen-log'
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

