summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2001-07-30 14:52:42 +0000
committerBruce Momjian2001-07-30 14:52:42 +0000
commitf46403a752c1116b40bb247013d20e52dabbe9b8 (patch)
tree86c419dcb2e8298b90814039135fdfa85aa2971f
parent069fb5a5d77db1ff790ac3372e77a954867e0578 (diff)
Patch to add comments to Linux startup script.
Rene Pijlman
-rw-r--r--contrib/start-scripts/linux6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux
index 87a5419c5b..081cc5b4a8 100644
--- a/contrib/start-scripts/linux
+++ b/contrib/start-scripts/linux
@@ -1,5 +1,8 @@
#! /bin/sh
+# chkconfig: 2345 98 02
+# description: PostgreSQL RDBMS
+
# 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
# and maybe the 'echo' commands.
@@ -12,7 +15,8 @@
# /etc/rc.d/rc3.d/S98postgresql
# /etc/rc.d/rc4.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
# and pid files under /var/run as well as reacting to network