Skip to content

Commit

Permalink
rpm: fix about port number
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Sep 24, 2012
1 parent b4fdc82 commit c7f8acd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion data/logrotate.d/redhat/groonga-server-gqtp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
postrotate
. /etc/sysconfig/groonga-server-gqtp
if x"$ENABLE" = x"yes"; then
/usr/bin/groonga -c 127.0.0.1 log_reopen > /dev/null
/usr/bin/groonga --port "${PORT:-10043}" -c 127.0.0.1 \
log_reopen > /dev/null
fi
endscript
}
2 changes: 1 addition & 1 deletion data/logrotate.d/redhat/groonga-server-http
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
. /etc/sysconfig/groonga-server-http
if x"$ENABLE" = x"yes"; then
/usr/bin/curl --silent --output /dev/null \
"http://127.0.0.1:10041/d/log_reopen"
"http://127.0.0.1:${PORT:-10041}/d/log_reopen"
fi
endscript
}

0 comments on commit c7f8acd

Please sign in to comment.