summaryrefslogtreecommitdiff
path: root/contrib/start-scripts
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-04-29 21:55:12 -0400
committerPeter Eisentraut <peter_e@gmx.net>2013-04-29 21:55:12 -0400
commit187ca5e8e90baacc2d36c8bd0b08040f33c07fa1 (patch)
tree6df9031fb97e26b1ab9b0246c9721426f388dbf1 /contrib/start-scripts
parentdb9f0e1d9a4a0842c814a464cdc9758c3f20b96c (diff)
downloadpostgresql-187ca5e8e90baacc2d36c8bd0b08040f33c07fa1.tar.gz
Revert "pg_ctl: Add idempotent option"
This reverts commit 87306184580c9c49717b00d48a2f9e717f21e0a8. The behavior in certain cases is still being debated, and it's too late to solve this before beta.
Diffstat (limited to 'contrib/start-scripts')
-rw-r--r--contrib/start-scripts/linux4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux
index 2d36a560fa..b950cf512c 100644
--- a/contrib/start-scripts/linux
+++ b/contrib/start-scripts/linux
@@ -89,12 +89,12 @@ case $1 in
;;
stop)
echo -n "Stopping PostgreSQL: "
- su - $PGUSER -c "$PGCTL stop -I -D '$PGDATA' -s -m fast"
+ su - $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -m fast"
echo "ok"
;;
restart)
echo -n "Restarting PostgreSQL: "
- su - $PGUSER -c "$PGCTL stop -I -D '$PGDATA' -s -m fast -w"
+ su - $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -m fast -w"
test x"$OOM_SCORE_ADJ" != x && echo "$OOM_SCORE_ADJ" > /proc/self/oom_score_adj
test x"$OOM_ADJ" != x && echo "$OOM_ADJ" > /proc/self/oom_adj
su - $PGUSER -c "$DAEMON -D '$PGDATA' &" >>$PGLOG 2>&1