Thu May 17 01:58:15 PDT 2007
- Previous message: [Slony1-commit] slony1-engine postgresql-slony1-engine.spec.in
- Next message: [Slony1-commit] slony1-engine RELEASE-1.2.10
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/redhat In directory main.slony.info:/tmp/cvs-serv7675 Modified Files: slon.init Log Message: * Enable logging to a logfile during startup * run as postgres user * Fix status call (ahem, copy-paste is evil) Index: slon.init =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/redhat/slon.init,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** slon.init 17 May 2007 07:09:26 -0000 1.1 --- slon.init 17 May 2007 08:58:13 -0000 1.2 *************** *** 49,53 **** SLONCONF=/etc/slon.conf SLONPID=/var/run/slon.pid ! test -x $SLONDAEMON || exit 5 --- 49,53 ---- SLONCONF=/etc/slon.conf SLONPID=/var/run/slon.pid ! SLONLOG=/var/log/slony1 test -x $SLONDAEMON || exit 5 *************** *** 59,63 **** echo -n "$SLON_START" ! daemon $SLONDAEMON -f $SLONCONF -p $SLONPID 2>&1 </dev/null & sleep 2 --- 59,63 ---- echo -n "$SLON_START" ! $SU -l postgres -c "$SLONDAEMON -f $SLONCONF &" >> "$SLONLOG" 2>&1 < /dev/null sleep 2 *************** *** 111,115 **** ;; status) ! status postmaster script_result=$? ;; --- 111,115 ---- ;; status) ! status slon script_result=$? ;;
- Previous message: [Slony1-commit] slony1-engine postgresql-slony1-engine.spec.in
- Next message: [Slony1-commit] slony1-engine RELEASE-1.2.10
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list