[packages/ejabberd] - /usr/sbin/ejabberdctl is bash script

arekm arekm at pld-linux.org
Mon Oct 17 23:16:24 CEST 2016


commit ed011355552e41780f05d544920df332bd0be230
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Oct 17 23:16:18 2016 +0200

    - /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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ejabberd.git/commitdiff/ed011355552e41780f05d544920df332bd0be230



More information about the pld-cvs-commit mailing list