mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
cleaned up.
This commit is contained in:
parent
9213f63400
commit
a0885fe63c
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user