File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2424
2525# Original author: Ryan Kirkpatrick <pgsql@rkirkpat.net>
2626
27- # $Header: /cvsroot/pgsql/contrib/start-scripts/linux,v 1.3 2001/07/30 14:52:42 momjian Exp $
27+ # $Header: /cvsroot/pgsql/contrib/start-scripts/linux,v 1.4 2003/06/12 02:02:24 momjian Exp $
2828
2929# # EDIT FROM HERE
3030
@@ -76,15 +76,19 @@ case $1 in
7676 ;;
7777 restart)
7878 echo -n " Restarting PostgreSQL: "
79- su - $PGUSER -c " $DAEMON restart -D '$PGDATA ' -s -m fast"
79+ su - $PGUSER -c " $DAEMON restart -D '$PGDATA ' -s -m fast -l $PGLOG "
8080 echo " ok"
8181 ;;
82+ reload)
83+ echo -n " Reload PostgreSQL: "
84+ su - $PGUSER -c " $DAEMON reload -D '$PGDATA ' -s"
85+ echo " ok"
8286 status)
8387 su - $PGUSER -c " $DAEMON status -D '$PGDATA '"
8488 ;;
8589 * )
8690 # Print help
87- echo " Usage: $0 {start|stop|restart|status}" 1>&2
91+ echo " Usage: $0 {start|stop|restart|reload| status}" 1>&2
8892 exit 1
8993 ;;
9094esac
You can’t perform that action at this time.
0 commit comments