Hi On 14.07.2015 21:24, Adam D. Barratt wrote: > On Wed, 2015-06-24 at 14:19 +0200, Philipp Huebner wrote: >> I would like to upload ejabberd 14.07-4+deb8u2 to Jessie. >> It closes several bugs (#786588, #706897, #784535, #788007) through >> some small patches that are included with newer upstream releases. > > + * Adjust logrotate postrotate command in case ejabberd is not running > (Closes: #786588) > [...] > - su ejabberd -c '/usr/sbin/ejabberdctl reopen-log' > /dev/null > + /usr/sbin/ejabberdctl status > /dev/null && > /usr/sbin/ejabberdctl reopen-log > > Is the dropping of running the command(s) as the ejabberd user > intentional?
Yes it is. ejabberdctl can be run by root without any problem, it does a "su ejabberd -c <command>" where necessary itself if it's not run as the ejabberd user. Regards, -- .''`. Philipp Huebner <debala...@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F `. `'` `-
signature.asc
Description: OpenPGP digital signature