[Groonga-commit] droonga/droonga-http-server at a370a6b [master] Change the current directory to the DROONGA_BASE_DIR before running.

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 25 17:19:41 JST 2014


YUKI Hiroshi	2014-09-25 17:19:41 +0900 (Thu, 25 Sep 2014)

  New Revision: a370a6bf15e223510e0c67ddaba3eade477334f7
  https://github.com/droonga/droonga-http-server/commit/a370a6bf15e223510e0c67ddaba3eade477334f7

  Message:
    Change the current directory to the DROONGA_BASE_DIR before running.
    
    Because some functions (ex. downloading "serf" binary) fails to write files under the current directory "/" even if we spe
    cify DROONGA_BASE_DIR via the environment, we have to do "cd".

  Modified files:
    install/centos/droonga-http-server

  Modified: install/centos/droonga-http-server (+1 -0)
===================================================================
--- install/centos/droonga-http-server    2014-09-25 17:04:23 +0900 (e4372f4)
+++ install/centos/droonga-http-server    2014-09-25 17:19:41 +0900 (8c322c6)
@@ -16,6 +16,7 @@ USER=$NAME
 GROUP=droonga
 DAEMON=/usr/bin/$NAME
 export DROONGA_BASE_DIR=/home/$NAME/droonga
+cd $DROONGA_BASE_DIR
 PIDFILE=/run/$NAME/$NAME.pid
 DAEMON_ARGS="--daemon --pid-file=$PIDFILE"
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index