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

Commite58775e

Browse files
committed
UPdate file from Patrick.
1 parent27ed8ac commite58775e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎contrib/init.d/postgresql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# please send them to me.
1111

1212
# Arguements for pg_ctl and then for the postmaster. Change as needed.
13-
ARGS="-w -D /home/postgres/data"
13+
ARGS="-w -D /usr/local/pgsql/data"
1414
PM_ARGS="-i -F"
1515

1616
# Changes should not be needed beyond this point.
@@ -39,13 +39,13 @@ case "$1" in
3939
start)
4040
# Start the postmaster using pg_ctl and given options.
4141
echo -n"Starting$DESC:"
42-
su - postgres sh -c"$DAEMON start$ARGS -o\"$PM_ARGS\"$LOG 2>&1"
42+
su - postgres sh -c"$DAEMON start$ARGS -o\"$PM_ARGS\">$LOG 2>&1"
4343
echo"$NAME."
4444
;;
4545
stop)
4646
# Stop the postmaster using pg_ctl.
4747
echo -n"Stopping$DESC:"
48-
su - postgres sh -c"$DAEMON stop > /dev/null 2>&1"
48+
su - postgres sh -c"$DAEMON stop > /dev/null 2>&1"
4949
echo"$NAME."
5050
;;
5151
restart)
@@ -61,7 +61,7 @@ case "$1" in
6161
*)
6262
# Print help.
6363
N=/etc/init.d/$FILE
64-
echo"Usage:$N {start|stop|restart|status}"1>&2
64+
echo"Usage:$N {start|stop|restart|status}">&2
6565
exit 1
6666
;;
6767
esac

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp