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

Commita0885fe

Browse files
committed
cleaned up.
1 parent9213f63 commita0885fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/init.d/postgresql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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"
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"
48+
su - postgres sh -c"$DAEMON stop > /dev/null 2>&1"
4949
echo"$NAME."
5050
;;
5151
restart)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp