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:
parent
29d991f46c
commit
9c67d66ac2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user