[packages/ejabberd] Make su silent (bashrc output etc).

arekm arekm at pld-linux.org
Mon Jun 13 06:31:38 CEST 2016


commit 77368da5486b89f97006d99ffa362d896fa8214e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jun 13 06:31:29 2016 +0200

    Make su silent (bashrc output etc).

 ejabberd.logrotate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ejabberd.logrotate b/ejabberd.logrotate
index bbb9a76..ed98690 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
+		/bin/su -s /bin/sh - 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/77368da5486b89f97006d99ffa362d896fa8214e



More information about the pld-cvs-commit mailing list