null+****@clear*****
null+****@clear*****
2012年 3月 29日 (木) 19:53:37 JST
IWAI, Masaharu 2012-03-29 19:53:37 +0900 (Thu, 29 Mar 2012)
New Revision: 83376ad50caba1a1fe97d04e83e14418237a057e
Log:
fix argument in groonga-server init script
groonga-server use '--bind-address' argument with specify server address to bind.
But init scriot for RHEL-like distributions and Debian was wrong.
I fix this problem.
Modified files:
data/init.d/redhat/groonga
packages/debian/groonga-server.init
Modified: data/init.d/redhat/groonga (+1 -1)
===================================================================
--- data/init.d/redhat/groonga 2012-03-29 18:58:29 +0900 (6bf51b8)
+++ data/init.d/redhat/groonga 2012-03-29 19:53:37 +0900 (46243f2)
@@ -62,7 +62,7 @@ if [ -n "${PIDFILE}" ]; then
GROONGA_ARGS="${GROONGA_ARGS} --pid-path ${PIDFILE}"
fi
if [ -n "${ADDRESS}" ]; then
- GROONGA_ARGS="${GROONGA_ARGS} --address ${ADDRESS}"
+ GROONGA_ARGS="${GROONGA_ARGS} --bind-address ${ADDRESS}"
fi
if [ -n "${PORT}" ]; then
GROONGA_ARGS="${GROONGA_ARGS} --port ${PORT}"
Modified: packages/debian/groonga-server.init (+1 -1)
===================================================================
--- packages/debian/groonga-server.init 2012-03-29 18:58:29 +0900 (c8309fc)
+++ packages/debian/groonga-server.init 2012-03-29 19:53:37 +0900 (b4f5ee3)
@@ -43,7 +43,7 @@ ENABLE="no"
DAEMON_ARGS="-d --pid-path ${PIDFILE}"
if [ -n "${ADDRESS}" ]; then
- DAEMON_ARGS="${DAEMON_ARGS} -a ${ADDRESS}"
+ DAEMON_ARGS="${DAEMON_ARGS} --bind-address ${ADDRESS}"
fi
if [ -n "${PORT}" ]; then
DAEMON_ARGS="${DAEMON_ARGS} --port ${PORT}"