OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 04-Feb-2003 18:21:53 Branch: HEAD Handle: 2003020417215200 Modified files: openpkg-src/postgresql rc.postgresql Log: added shutdown mode setting in rc script Summary: Revision Changes Path 1.3 +3 -2 openpkg-src/postgresql/rc.postgresql ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/postgresql/rc.postgresql ============================================================================ $ cvs diff -u -r1.2 -r1.3 rc.postgresql --- openpkg-src/postgresql/rc.postgresql 6 Feb 2002 08:29:14 -0000 1.2 +++ openpkg-src/postgresql/rc.postgresql 4 Feb 2003 17:21:52 -0000 1.3 @@ -7,6 +7,7 @@ postgresql_enable="yes" postgresql_flags="" postgresql_datadir="@l_prefix@/var/postgresql/db" + postgresql_shut_mode="smart" postgresql_socket_inet="localhost" postgresql_socket_unix="@l_prefix@/var/postgresql/run/" postgresql_log_file="@l_prefix@/var/postgresql/run/postmaster.log" @@ -26,11 +27,11 @@ %stop -p 200 -u @l_rusr@ opServiceEnabled postgresql || exit 0 - @l_prefix@/bin/pg_ctl stop -l $postgresql_log_file -D $postgresql_datadir -m smart + @l_prefix@/bin/pg_ctl stop -l $postgresql_log_file -D $postgresql_datadir -m $postgresql_shut_mode %restart -u @l_rusr@ opServiceEnabled postgresql || exit 0 - @l_prefix@/bin/pg_ctl restart -l $postgresql_log_file -D $postgresql_datadir -o "$postgresql_opts" -m smart + @l_prefix@/bin/pg_ctl restart -l $postgresql_log_file -D $postgresql_datadir -o "$postgresql_opts" -m $postgresql_shut_mode %reload -u @l_rusr@ opServiceEnabled postgresql || exit 0 @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]