File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ case $1 in
108108 echo " ok"
109109 ;;
110110 reload)
111- echo -n " Reload PostgreSQL: "
112- su - $PGUSER -c " $PGCTL reload -D '$PGDATA ' -s"
113- echo " ok"
114- ;;
111+ echo -n " Reload PostgreSQL: "
112+ su - $PGUSER -c " $PGCTL reload -D '$PGDATA ' -s"
113+ echo " ok"
114+ ;;
115115 status)
116116 su - $PGUSER -c " $PGCTL status -D '$PGDATA '"
117117 ;;
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ StopService () {
9696RestartService () {
9797 if [ " ${POSTGRESQL:= -NO-} " = " -YES-" ]; then
9898 ConsoleMessage " Restarting PostgreSQL database server"
99- # should match StopService:
100- sudo -u $PGUSER sh -c " $PGCTL stop -D '${PGDATA} ' -s -m fast"
101- # should match StartService:
99+ # should match StopService:
100+ sudo -u $PGUSER sh -c " $PGCTL stop -D '${PGDATA} ' -s -m fast"
101+ # should match StartService:
102102 if [ " ${ROTATELOGS} " = " 1" ]; then
103103 sudo -u $PGUSER sh -c " ${DAEMON} -D '${PGDATA} ' &" 2>&1 | ${LOGUTIL} " ${PGLOG} " ${ROTATESEC} &
104104 else
You can’t perform that action at this time.
0 commit comments