|
|
@ -1,5 +1,8 @@ |
|
|
|
#! /bin/sh |
|
|
|
#! /bin/sh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# chkconfig: 2345 98 02 |
|
|
|
|
|
|
|
# description: PostgreSQL RDBMS |
|
|
|
|
|
|
|
|
|
|
|
# This is an example of a start/stop script for SysV-style init, such |
|
|
|
# This is an example of a start/stop script for SysV-style init, such |
|
|
|
# as is used on Linux systems. You should edit some of the variables |
|
|
|
# as is used on Linux systems. You should edit some of the variables |
|
|
|
# and maybe the 'echo' commands. |
|
|
|
# and maybe the 'echo' commands. |
|
|
@ -12,7 +15,8 @@ |
|
|
|
# /etc/rc.d/rc3.d/S98postgresql |
|
|
|
# /etc/rc.d/rc3.d/S98postgresql |
|
|
|
# /etc/rc.d/rc4.d/S98postgresql |
|
|
|
# /etc/rc.d/rc4.d/S98postgresql |
|
|
|
# /etc/rc.d/rc5.d/S98postgresql |
|
|
|
# /etc/rc.d/rc5.d/S98postgresql |
|
|
|
# Or check out the chkconfig program, if you have it. |
|
|
|
# Or, if you have chkconfig, simply: |
|
|
|
|
|
|
|
# chkconfig --add postgresql |
|
|
|
# |
|
|
|
# |
|
|
|
# Proper init scripts on Linux systems normally require setting lock |
|
|
|
# Proper init scripts on Linux systems normally require setting lock |
|
|
|
# and pid files under /var/run as well as reacting to network |
|
|
|
# and pid files under /var/run as well as reacting to network |
|
|
@ -20,7 +24,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
# Original author: Ryan Kirkpatrick <pgsql@rkirkpat.net> |
|
|
|
# Original author: Ryan Kirkpatrick <pgsql@rkirkpat.net> |
|
|
|
|
|
|
|
|
|
|
|
# $Header: /cvsroot/pgsql/contrib/start-scripts/linux,v 1.2 2001/04/19 19:17:44 petere Exp $ |
|
|
|
# $Header: /cvsroot/pgsql/contrib/start-scripts/linux,v 1.3 2001/07/30 14:52:42 momjian Exp $ |
|
|
|
|
|
|
|
|
|
|
|
## EDIT FROM HERE |
|
|
|
## EDIT FROM HERE |
|
|
|
|
|
|
|
|
|
|
|