Commit 791eb1fe authored by Bernd Zeimetz's avatar Bernd Zeimetz

Don't force-reload with -R, doesn't work for some config file changes.

parent bd1240fd
......@@ -48,7 +48,6 @@ pgbouncer (1.2.3-1) unstable; urgency=low
dh_installinit takes care of.
* Respect the setting of 'START' in /etc/default/pgbouncer. The option
was ignored completely.
* Implementing force-reload using pgbouncer -R.
- debian/install:
* Renamed from pgbouncer.install.
* Don't install an example userlist to /etc. File will be touched in
......
......@@ -80,16 +80,11 @@ case "$1" in
fi
exit $status
;;
restart)
restart|force-reload)
log_daemon_msg "Restarting pgbouncer" pgbouncer
d_stop && sleep 1 && d_start
log_end_msg $?
;;
force-reload)
log_daemon_msg "Force-Reloading pgbouncer" pgbouncer
d_start_R
log_end_msg $?
;;
try-restart)
if $0 status >/dev/null; then
$0 restart
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment