Commit 377cd2ea authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add comments to assist with installation.

parent 0b055d31
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
# based on news startup by David Myers # based on news startup by David Myers
# #
# Written for RedHat Linux but should apply to other Linux distributions. # Written for RedHat Linux but should apply to other Linux distributions.
#
# To be installed as /etc/rc.d/init.d/postgres.init
# Softlink into rc5.d to bring up with multiuser and networking:
# cd /etc/rc.d/rc5.d; ln -s ../init.d/postgres.init S98postgres
#
# Assumptions: # Assumptions:
# - the postgres user is named "postgres" # - the postgres user is named "postgres"
# - the postgres user is running csh/tcsh # - the postgres user is running csh/tcsh
...@@ -32,6 +37,7 @@ case "$1" in ...@@ -32,6 +37,7 @@ case "$1" in
echo -n "Starting postgres service: " echo -n "Starting postgres service: "
# force full login to get path names and environment variables # force full login to get path names and environment variables
# postgres runs tcsh so use proper syntax in redirection # postgres runs tcsh so use proper syntax in redirection
# change this line if the postgres superuser account is not "postgres"
# change this line if another shell syntax is necessary # change this line if another shell syntax is necessary
# su - postgres -c 'postmaster -S' > /dev/null& # su - postgres -c 'postmaster -S' > /dev/null&
su - postgres -c 'postmaster >>&! /tmp/postmaster.log&' > /dev/null& su - postgres -c 'postmaster >>&! /tmp/postmaster.log&' > /dev/null&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment