From: Bruce Momjian Date: Sat, 26 Jul 2003 20:42:55 +0000 (+0000) Subject: Fix for Linux startup script. X-Git-Tag: REL7_4_BETA1~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9df03060e9f79e09698b769774901a7c3cd0d05b;p=postgresql Fix for Linux startup script. Slawomir Sudnik --- diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux index e66a22e643..33ad4f4528 100644 --- a/contrib/start-scripts/linux +++ b/contrib/start-scripts/linux @@ -24,7 +24,7 @@ # Original author: Ryan Kirkpatrick -# $Header: /cvsroot/pgsql/contrib/start-scripts/linux,v 1.4 2003/06/12 02:02:24 momjian Exp $ +# $Header: /cvsroot/pgsql/contrib/start-scripts/linux,v 1.5 2003/07/26 20:42:55 momjian Exp $ ## EDIT FROM HERE @@ -83,6 +83,7 @@ case $1 in echo -n "Reload PostgreSQL: " su - $PGUSER -c "$DAEMON reload -D '$PGDATA' -s" echo "ok" + ;; status) su - $PGUSER -c "$DAEMON status -D '$PGDATA'" ;;