[packages/percona-toolkit] add note how to see connect errors

glen glen at pld-linux.org
Sun May 25 19:45:18 CEST 2014


commit bfd200a0e2c959477b2df8f0cfeabbe9f17007b2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 25 20:45:06 2014 +0300

    add note how to see connect errors

 pt-kill.init | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pt-kill.init b/pt-kill.init
index 0550287..233484a 100755
--- a/pt-kill.init
+++ b/pt-kill.init
@@ -44,6 +44,7 @@ start() {
 	# FIXME: instead of removing, fix stop process
 	rm -f $sentinel
 	# use RC_LOGGING=no, because we need to escape ";" from shell
+	# NOTE: disable --redirfds to be able to see connect errors
 	RC_LOGGING=no \
 	daemon --user $user --redirfds \
 		/usr/bin/pt-kill --config $config --daemonize --pid $pidfile --sentinel $sentinel "$dsn"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-toolkit.git/commitdiff/bfd200a0e2c959477b2df8f0cfeabbe9f17007b2



More information about the pld-cvs-commit mailing list