*** postgresql.init.orig Tue Jan 29 13:16:20 2002 --- postgresql.init Tue Jan 29 13:23:33 2002 *************** *** 205,210 **** --- 205,213 ---- [ -e /var/lock/subsys/postgresql ] && restart || : } + reload(){ + su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl reload -D $PGDATA -s" > /dev/null 2>&1 + } # This script is slightly unusual in that the name of the daemon (postmaster) # is not the same as the name of the subsystem (postgresql) *************** *** 226,236 **** condrestart) condrestart ;; *) ! echo $"Usage: $0 {start|stop|status|restart|condrestart}" exit 1 esac exit 0 - - --- 229,240 ---- condrestart) condrestart ;; + reload|force-reload) + reload + ;; *) ! echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}" exit 1 esac exit 0