]> git.pld-linux.org Git - packages/percona-toolkit.git/commitdiff
force RC_LOGGING=no
authorElan Ruusamäe <glen@delfi.ee>
Wed, 30 Apr 2014 17:04:11 +0000 (20:04 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 30 Apr 2014 17:04:12 +0000 (20:04 +0300)
otherwise we would have to escape for shell-hell

pt-kill.init

index f58dbf5d635d6582b7de389022a833dc195bb841..05502876d70bf665f3772aba0fd4f9c5fca93855 100755 (executable)
@@ -43,6 +43,8 @@ start() {
        msg_starting "pt-kill"
        # FIXME: instead of removing, fix stop process
        rm -f $sentinel
+       # use RC_LOGGING=no, because we need to escape ";" from shell
+       RC_LOGGING=no \
        daemon --user $user --redirfds \
                /usr/bin/pt-kill --config $config --daemonize --pid $pidfile --sentinel $sentinel "$dsn"
        RETVAL=$?
This page took 0.085432 seconds and 4 git commands to generate.