Kouhei Sutou
null+****@clear*****
Tue Jul 7 12:47:25 JST 2015
Kouhei Sutou 2015-07-07 12:47:25 +0900 (Tue, 07 Jul 2015) New Revision: 9cc6ca657642fe47a49b5e18de71a71b633ed706 https://github.com/groonga/groonga/commit/9cc6ca657642fe47a49b5e18de71a71b633ed706 Message: logrotate: fix syntax error in script Modified files: data/logrotate.d/redhat/groonga-httpd data/logrotate.d/redhat/groonga-server-gqtp data/logrotate.d/redhat/groonga-server-http Modified: data/logrotate.d/redhat/groonga-httpd (+1 -1) =================================================================== --- data/logrotate.d/redhat/groonga-httpd 2015-07-07 12:45:36 +0900 (52116e3) +++ data/logrotate.d/redhat/groonga-httpd 2015-07-07 12:47:25 +0900 (443093c) @@ -9,7 +9,7 @@ sharedscripts postrotate . /etc/sysconfig/groonga-httpd - if x"$ENABLE" = x"yes"; then + if [ x"$ENABLE" = x"yes" ]; then /usr/bin/curl --silent --output /dev/null \ "http://127.0.0.1:10041/d/log_reopen" fi Modified: data/logrotate.d/redhat/groonga-server-gqtp (+1 -1) =================================================================== --- data/logrotate.d/redhat/groonga-server-gqtp 2015-07-07 12:45:36 +0900 (07eed77) +++ data/logrotate.d/redhat/groonga-server-gqtp 2015-07-07 12:47:25 +0900 (fa7e825) @@ -9,7 +9,7 @@ sharedscripts postrotate . /etc/sysconfig/groonga-server-gqtp - if x"$ENABLE" = x"yes"; then + if [ x"$ENABLE" = x"yes" ]; then /usr/bin/groonga --port "${PORT:-10043}" -c 127.0.0.1 \ log_reopen > /dev/null fi Modified: data/logrotate.d/redhat/groonga-server-http (+1 -1) =================================================================== --- data/logrotate.d/redhat/groonga-server-http 2015-07-07 12:45:36 +0900 (9ed5645) +++ data/logrotate.d/redhat/groonga-server-http 2015-07-07 12:47:25 +0900 (715331c) @@ -9,7 +9,7 @@ sharedscripts postrotate . /etc/sysconfig/groonga-server-http - if x"$ENABLE" = x"yes"; then + if [ x"$ENABLE" = x"yes" ]; then /usr/bin/curl --silent --output /dev/null \ "http://127.0.0.1:${PORT:-10041}/d/log_reopen" fi -------------- next part -------------- HTML����������������������������...Download