add '-m fast' to rc.shutdown suggestion, as otherwise the shutdown process

will default to waiting for all clients to disconnect - which could be never
This commit is contained in:
peter 2001-04-22 09:35:00 +00:00
parent 29d991f46c
commit 9c67d66ac2

View File

@ -41,7 +41,7 @@ To automatically shutdown the database as part of the system shutdown,
add the following lines to /etc/rc.shutdown:
if [ -f /var/postgresql/data/postmaster.pid ]; then
su -l postgresql -c "!!PREFIX!!/bin/pg_ctl stop \
su -l postgresql -c "!!PREFIX!!/bin/pg_ctl stop -m fast \
-D /var/postgresql/data"
rm -f /var/portgresql/data/postmaster.pid
fi