This commit is contained in:
f 2021-02-02 21:01:29 -03:00
parent d0905e1599
commit 075efea7db

View file

@ -4,6 +4,8 @@ set -e
case $1 in case $1 in
stop) stop)
/bin/su postgres -c "pg_ctl stop -D ${PGDATA}" ;; /bin/su postgres -c "pg_ctl stop -D ${PGDATA}" ;;
reload)
/bin/su postgres -c "pg_ctl reload -D ${PGDATA}" ;;
*) *)
pid=/tmp/postgresql.pid pid=/tmp/postgresql.pid
user=postgres user=postgres