diff --git a/postgresql/files/postgresql-letsencrypt-acme.sh b/postgresql/files/postgresql-letsencrypt-acme.sh index a84824c9..c2c245dd 100644 --- a/postgresql/files/postgresql-letsencrypt-acme.sh +++ b/postgresql/files/postgresql-letsencrypt-acme.sh @@ -26,9 +26,9 @@ chgrp postgres ${POSTGRESQL_KEYFILE} echo "Reload the postgresql service" >> $LE_LOG_DIR/postgresql.log if [ -x /bin/systemctl ] ; then - systemctl reload postgresql >> $LE_LOG_DIR/postgresql.log 2>&1 + systemctl restart postgresql >> $LE_LOG_DIR/postgresql.log 2>&1 else - service postgresql reload >> $LE_LOG_DIR/postgresql.log 2>&1 + service postgresql restart >> $LE_LOG_DIR/postgresql.log 2>&1 fi echo "Done." >> $LE_LOG_DIR/postgresql.log