File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ case $1 in
108
108
echo " ok"
109
109
;;
110
110
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
+ ;;
115
115
status)
116
116
su - $PGUSER -c " $PGCTL status -D '$PGDATA '"
117
117
;;
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ StopService () {
96
96
RestartService () {
97
97
if [ " ${POSTGRESQL:= -NO-} " = " -YES-" ]; then
98
98
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:
102
102
if [ " ${ROTATELOGS} " = " 1" ]; then
103
103
sudo -u $PGUSER sh -c " ${DAEMON} -D '${PGDATA} ' &" 2>&1 | ${LOGUTIL} " ${PGLOG} " ${ROTATESEC} &
104
104
else
You can’t perform that action at this time.
0 commit comments