diff --git a/postgresql.sh b/postgresql.sh index dd1d364..49982a5 100644 --- a/postgresql.sh +++ b/postgresql.sh @@ -4,6 +4,8 @@ set -e case $1 in stop) /bin/su postgres -c "pg_ctl stop -D ${PGDATA}" ;; + reload) + /bin/su postgres -c "pg_ctl reload -D ${PGDATA}" ;; *) pid=/tmp/postgresql.pid user=postgres