From 075efea7db7d454ecba89e261ddfe6f55b0e19fb Mon Sep 17 00:00:00 2001 From: f Date: Tue, 2 Feb 2021 21:01:29 -0300 Subject: [PATCH] reload --- postgresql.sh | 2 ++ 1 file changed, 2 insertions(+) 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