[Groonga-commit] droonga/droonga-engine at 03436eb [master] Change the current directory to the DROONGA_BASE_DIR before running.

Back to archive index

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


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

  New Revision: 03436eb8be4749d628c6b0f2957c5058142c7d5f
  https://github.com/droonga/droonga-engine/commit/03436eb8be4749d628c6b0f2957c5058142c7d5f

  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 specify DROONGA_BASE_DIR via the environment, we have to do "cd".

  Modified files:
    install/centos/droonga-engine

  Modified: install/centos/droonga-engine (+1 -0)
===================================================================
--- install/centos/droonga-engine    2014-09-25 17:04:30 +0900 (d2b3377)
+++ install/centos/droonga-engine    2014-09-25 17:18:19 +0900 (b5af009)
@@ -16,6 +16,7 @@ USER=$NAME
 GROUP=droonga
 DAEMON=/usr/local/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