Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit377cd2e

Browse files
author
Thomas G. Lockhart
committed
Add comments to assist with installation.
1 parent0b055d3 commit377cd2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎contrib/linux/postgres.init

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
# based on news startup by David Myers
77
#
88
# Written for RedHat Linux but should apply to other Linux distributions.
9+
#
10+
# To be installed as /etc/rc.d/init.d/postgres.init
11+
# Softlink into rc5.d to bring up with multiuser and networking:
12+
# cd /etc/rc.d/rc5.d; ln -s ../init.d/postgres.init S98postgres
13+
#
914
# Assumptions:
1015
# - the postgres user is named "postgres"
1116
# - the postgres user is running csh/tcsh
@@ -32,6 +37,7 @@ case "$1" in
3237
echo -n"Starting postgres service:"
3338
# force full login to get path names and environment variables
3439
# postgres runs tcsh so use proper syntax in redirection
40+
# change this line if the postgres superuser account is not "postgres"
3541
# change this line if another shell syntax is necessary
3642
#su - postgres -c 'postmaster -S' > /dev/null&
3743
su - postgres -c'postmaster >>&! /tmp/postmaster.log&'> /dev/null&

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp