From: Arkadiusz Miƛkiewicz Date: Mon, 17 Oct 2016 21:16:18 +0000 (+0200) Subject: - /usr/sbin/ejabberdctl is bash script X-Git-Tag: auto/th/ejabberd-16.12-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fejabberd.git;a=commitdiff_plain;h=ed011355552e41780f05d544920df332bd0be230 - /usr/sbin/ejabberdctl is bash script --- diff --git a/ejabberd.logrotate b/ejabberd.logrotate index ed98690..f10caf2 100644 --- a/ejabberd.logrotate +++ b/ejabberd.logrotate @@ -5,7 +5,7 @@ nocreate sharedscripts postrotate - /bin/su -s /bin/sh - jabber /usr/sbin/ejabberdctl reopen_log > /dev/null + /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