diff options
author | Bruce Momjian | 2001-02-06 21:38:43 +0000 |
---|---|---|
committer | Bruce Momjian | 2001-02-06 21:38:43 +0000 |
commit | a0885fe63c620698f3cb91a42a41520694a3f2ab (patch) | |
tree | c199491c8c14fe620e5a12d53487d2716d5f0935 /contrib/init.d/postgresql | |
parent | 9213f634008b0a93bf7d1ec7a747533aa9d0ea73 (diff) |
cleaned up.
Diffstat (limited to 'contrib/init.d/postgresql')
-rw-r--r-- | contrib/init.d/postgresql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/init.d/postgresql b/contrib/init.d/postgresql index 297324df848..eed31687fae 100644 --- a/contrib/init.d/postgresql +++ b/contrib/init.d/postgresql @@ -39,13 +39,13 @@ case "$1" in start) # Start the postmaster using pg_ctl and given options. 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." ;; stop) # Stop the postmaster using pg_ctl. echo -n "Stopping $DESC: " - su - postgres sh -c "$DAEMON stop >& /dev/null" + su - postgres sh -c "$DAEMON stop > /dev/null 2>&1" echo "$NAME." ;; restart) |