Commit a0885fe6 authored by Bruce Momjian's avatar Bruce Momjian

cleaned up.

parent 9213f634
...@@ -39,13 +39,13 @@ case "$1" in ...@@ -39,13 +39,13 @@ case "$1" in
start) start)
# Start the postmaster using pg_ctl and given options. # Start the postmaster using pg_ctl and given options.
echo -n "Starting $DESC: " echo -n "Starting $DESC: "
su - postgres sh -c "$DAEMON start $ARGS -o \"$PM_ARGS\" >& $LOG" su - postgres sh -c "$DAEMON start $ARGS -o \"$PM_ARGS\" $LOG 2>&1"
echo "$NAME." echo "$NAME."
;; ;;
stop) stop)
# Stop the postmaster using pg_ctl. # Stop the postmaster using pg_ctl.
echo -n "Stopping $DESC: " echo -n "Stopping $DESC: "
su - postgres sh -c "$DAEMON stop >& /dev/null" su - postgres sh -c "$DAEMON stop > /dev/null 2>&1"
echo "$NAME." echo "$NAME."
;; ;;
restart) restart)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment