From ed011355552e41780f05d544920df332bd0be230 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 17 Oct 2016 23:16:18 +0200 Subject: [PATCH] - /usr/sbin/ejabberdctl is bash script --- ejabberd.logrotate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0