HAYASHI Kentaro
null+****@clear*****
Thu Nov 28 10:58:05 JST 2013
HAYASHI Kentaro 2013-11-28 10:58:05 +0900 (Thu, 28 Nov 2013) New Revision: c89bdfa5f6e814c08b72b9a71e9290434073749f https://github.com/groonga/groonga/commit/c89bdfa5f6e814c08b72b9a71e9290434073749f Message: deb rpm: add configuration about GRN_JA_SKIP_SAME_VALUE_PUT Modified files: data/init.d/redhat/groonga-httpd data/init.d/redhat/groonga-server-gqtp data/init.d/redhat/groonga-server-http data/init.d/redhat/sysconfig/groonga-httpd data/init.d/redhat/sysconfig/groonga-server-gqtp data/init.d/redhat/sysconfig/groonga-server-http data/systemd/fedora/sysconfig/groonga-server-gqtp data/systemd/fedora/sysconfig/groonga-server-http packages/debian/groonga-httpd.default packages/debian/groonga-httpd.init packages/debian/groonga-server-gqtp.default packages/debian/groonga-server-gqtp.init packages/debian/groonga-server-http.default packages/debian/groonga-server-http.init Modified: data/init.d/redhat/groonga-httpd (+4 -0) =================================================================== --- data/init.d/redhat/groonga-httpd 2013-11-26 18:12:01 +0900 (abd0de3) +++ data/init.d/redhat/groonga-httpd 2013-11-28 10:58:05 +0900 (d408fcd) @@ -46,6 +46,10 @@ fi DAEMON_ARGS="" GROONGA_ARGS="" +if [ -n "${GRN_JA_SKIP_SAME_VALUE_PUT}" ]; then + export GRN_JA_SKIP_SAME_VALUE_PUT=yes +fi + if [ -n "${USER}" ]; then if ! getent passwd | grep -q "^${USER}:"; then echo "$0: user for running $prog doesn't exist: ${USER}" >&2 Modified: data/init.d/redhat/groonga-server-gqtp (+4 -0) =================================================================== --- data/init.d/redhat/groonga-server-gqtp 2013-11-26 18:12:01 +0900 (5aec77c) +++ data/init.d/redhat/groonga-server-gqtp 2013-11-28 10:58:05 +0900 (33f6220) @@ -43,6 +43,10 @@ fi DAEMON_ARGS="" GROONGA_ARGS="-d" +if [ -n "${GRN_JA_SKIP_SAME_VALUE_PUT}" ]; then + export GRN_JA_SKIP_SAME_VALUE_PUT=yes +fi + if [ -n "${USER}" ]; then if ! getent passwd | grep -q "^${USER}:"; then echo "$0: user for running $prog doesn't exist: ${USER}" >&2 Modified: data/init.d/redhat/groonga-server-http (+4 -0) =================================================================== --- data/init.d/redhat/groonga-server-http 2013-11-26 18:12:01 +0900 (baf5efd) +++ data/init.d/redhat/groonga-server-http 2013-11-28 10:58:05 +0900 (96f479f) @@ -44,6 +44,10 @@ fi DAEMON_ARGS="" GROONGA_ARGS="-d" +if [ -n "${GRN_JA_SKIP_SAME_VALUE_PUT}" ]; then + export GRN_JA_SKIP_SAME_VALUE_PUT=yes +fi + if [ -n "${USER}" ]; then if ! getent passwd | grep -q "^${USER}:"; then echo "$0: user for running $prog doesn't exist: ${USER}" >&2 Modified: data/init.d/redhat/sysconfig/groonga-httpd (+1 -0) =================================================================== --- data/init.d/redhat/sysconfig/groonga-httpd 2013-11-26 18:12:01 +0900 (e1a5150) +++ data/init.d/redhat/sysconfig/groonga-httpd 2013-11-28 10:58:05 +0900 (e548a6b) @@ -8,3 +8,4 @@ #QUERY_LOG_PATH=/var/log/groonga/httpd/access.log #GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/usr/share/groonga/synonyms.tsv TIMEOUT=3 +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: data/init.d/redhat/sysconfig/groonga-server-gqtp (+1 -0) =================================================================== --- data/init.d/redhat/sysconfig/groonga-server-gqtp 2013-11-26 18:12:01 +0900 (1cc8222) +++ data/init.d/redhat/sysconfig/groonga-server-gqtp 2013-11-28 10:58:05 +0900 (100bc0e) @@ -8,3 +8,4 @@ #QUERY_LOG_PATH=/var/log/groonga/query-gqtp.log #PROTOCOL=gqtp #GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/usr/share/groonga/synonyms.tsv +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: data/init.d/redhat/sysconfig/groonga-server-http (+1 -0) =================================================================== --- data/init.d/redhat/sysconfig/groonga-server-http 2013-11-26 18:12:01 +0900 (cf33c00) +++ data/init.d/redhat/sysconfig/groonga-server-http 2013-11-28 10:58:05 +0900 (c6eb005) @@ -9,3 +9,4 @@ #PROTOCOL=http #GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/usr/share/groonga/synonyms.tsv #TIMEOUT=5 +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: data/systemd/fedora/sysconfig/groonga-server-gqtp (+1 -0) =================================================================== --- data/systemd/fedora/sysconfig/groonga-server-gqtp 2013-11-26 18:12:01 +0900 (89e45c3) +++ data/systemd/fedora/sysconfig/groonga-server-gqtp 2013-11-28 10:58:05 +0900 (f9fb2c7) @@ -6,3 +6,4 @@ QUERY_LOG_PATH=/var/log/groonga/query-gqtp.log PROTOCOL=gqtp PORT=10043 GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/usr/share/groonga/synonyms.tsv +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: data/systemd/fedora/sysconfig/groonga-server-http (+1 -0) =================================================================== --- data/systemd/fedora/sysconfig/groonga-server-http 2013-11-26 18:12:01 +0900 (7141818) +++ data/systemd/fedora/sysconfig/groonga-server-http 2013-11-28 10:58:05 +0900 (0b917b4) @@ -6,3 +6,4 @@ QUERY_LOG_PATH=/var/log/groonga/query-http.log PROTOCOL=http PORT=10041 GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=/usr/share/groonga/synonyms.tsv +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: packages/debian/groonga-httpd.default (+2 -0) =================================================================== --- packages/debian/groonga-httpd.default 2013-11-26 18:12:01 +0900 (71e3dbe) +++ packages/debian/groonga-httpd.default 2013-11-28 10:58:05 +0900 (4eeafc4) @@ -11,3 +11,5 @@ TIMEOUT=3 # Comment out this to disable groonga-httpd daemon. ENABLE=yes +# Comment out this to enable to skip updating column for same value. +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: packages/debian/groonga-httpd.init (+2 -0) =================================================================== --- packages/debian/groonga-httpd.init 2013-11-26 18:12:01 +0900 (9f1197f) +++ packages/debian/groonga-httpd.init 2013-11-28 10:58:05 +0900 (194b878) @@ -41,6 +41,8 @@ DEFAULT_FILE=/etc/default/groonga-httpd [ "$ENABLE" = "yes" ] || exit 0 +[ -n "$GRN_JA_SKIP_SAME_VALUE_PUT" ] && export GRN_JA_SKIP_SAME_VALUE_PUT=yes + mkdir -p $(dirname ${PIDFILE}) if [ -n "${USER}" ]; then Modified: packages/debian/groonga-server-gqtp.default (+2 -0) =================================================================== --- packages/debian/groonga-server-gqtp.default 2013-11-26 18:12:01 +0900 (6c3146e) +++ packages/debian/groonga-server-gqtp.default 2013-11-28 10:58:05 +0900 (dbb7eac) @@ -11,3 +11,5 @@ # Comment out this to disable groonga daemon. ENABLE=yes +# Comment out this to enable to skip updating column for same value. +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: packages/debian/groonga-server-gqtp.init (+2 -0) =================================================================== --- packages/debian/groonga-server-gqtp.init 2013-11-26 18:12:01 +0900 (2f2f3b9) +++ packages/debian/groonga-server-gqtp.init 2013-11-28 10:58:05 +0900 (5f14a45) @@ -42,6 +42,8 @@ DEFAULT_FILE=/etc/default/groonga-server-gqtp [ "$ENABLE" = "yes" ] || exit 0 +[ -n "$GRN_JA_SKIP_SAME_VALUE_PUT" ] && export GRN_JA_SKIP_SAME_VALUE_PUT=yes + DAEMON_ARGS="-d --pid-path ${PIDFILE}" if [ -n "${ADDRESS}" ]; then DAEMON_ARGS="${DAEMON_ARGS} --bind-address ${ADDRESS}" Modified: packages/debian/groonga-server-http.default (+2 -0) =================================================================== --- packages/debian/groonga-server-http.default 2013-11-26 18:12:01 +0900 (79ec763) +++ packages/debian/groonga-server-http.default 2013-11-28 10:58:05 +0900 (bc49d71) @@ -12,3 +12,5 @@ # Comment out this to disable groonga daemon. ENABLE=yes +# Comment out this to enable to skip updating column for same value. +#GRN_JA_SKIP_SAME_VALUE_PUT=yes Modified: packages/debian/groonga-server-http.init (+2 -0) =================================================================== --- packages/debian/groonga-server-http.init 2013-11-26 18:12:01 +0900 (0bac3c9) +++ packages/debian/groonga-server-http.init 2013-11-28 10:58:05 +0900 (0793099) @@ -44,6 +44,8 @@ DEFAULT_FILE=/etc/default/groonga-server-http [ "$ENABLE" = "yes" ] || exit 0 +[ -n "$GRN_JA_SKIP_SAME_VALUE_PUT" ] && export GRN_JA_SKIP_SAME_VALUE_PUT=yes + DAEMON_ARGS="-d --pid-path ${PIDFILE}" if [ -n "${ADDRESS}" ]; then DAEMON_ARGS="${DAEMON_ARGS} --bind-address ${ADDRESS}" -------------- next part -------------- HTML����������������������������... ダウンロード