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