pgpool2.git / summary / log / commit / refs

commit    cbbf9315ffd7485d3de2a7a478e5b9c584bb0d11
Author:   Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date:     Wed Apr 09 07:45:32 2008 +0000

    * Remove non-ascii character.
    * Fix the daemon stdio redirection.
    
    Per report by kabe-san.


redhat/pgpool.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redhat/pgpool.init b/redhat/pgpool.init index 89aa399d7..cd9f1fa81 100755 --- a/redhat/pgpool.init +++ b/redhat/pgpool.init @@ -66,7 +66,7 @@ start(){ PGPOOL_START=$"Starting ${NAME} service: " echo -n "$PGPOOL_START" - $PGPOOLDAEMON -f $PGPOOLCONF $OPTS & >> "$PGPOOLLOG" 2>&1 < /dev/null + $PGPOOLDAEMON -f $PGPOOLCONF -n $OPTS >> "$PGPOOLLOG" 2>&1 < /dev/null & sleep 2 pid=`pidof -s "$PGPOOLDAEMON"` @@ -97,7 +97,7 @@ stop(){ } switch() { - echo -n $"Sending switchover request to $NAME " + echo -n $"Sending switchover request to ${NAME} " $PGPOOLDAEMON switch >> "$PGPOOLLOG" 2>&1 < /dev/null RETVAL=$? echo [parent: 2162a39b0ef4]