projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9213f63
)
cleaned up.
author
Bruce Momjian
<bruce@momjian.us>
Tue, 6 Feb 2001 21:38:43 +0000
(21:38 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Tue, 6 Feb 2001 21:38:43 +0000
(21:38 +0000)
contrib/init.d/postgresql
patch
|
blob
|
blame
|
history
diff --git
a/contrib/init.d/postgresql
b/contrib/init.d/postgresql
index 297324df848eb31341afec53d3d9fa6a3c8ab1ae..eed31687fae015834a8de69778ff6eb09657df96 100644
(file)
--- 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)