[Groonga-commit] droonga/droonga.org at dc38d18 [gh-pages] Don't use $PWD

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jun 25 15:33:45 JST 2014


YUKI Hiroshi	2014-06-25 15:33:45 +0900 (Wed, 25 Jun 2014)

  New Revision: dc38d188a19592f9d6f8f56a15a13faf8b1680c6
  https://github.com/droonga/droonga.org/commit/dc38d188a19592f9d6f8f56a15a13faf8b1680c6

  Message:
    Don't use $PWD

  Modified files:
    tutorial/1.0.4/add-replica/index.md

  Modified: tutorial/1.0.4/add-replica/index.md (+4 -3)
===================================================================
--- tutorial/1.0.4/add-replica/index.md    2014-06-25 15:24:27 +0900 (f926380)
+++ tutorial/1.0.4/add-replica/index.md    2014-06-25 15:33:45 +0900 (f6ed645)
@@ -79,17 +79,18 @@ Let's start the server.
     (on 192.168.0.12)
     # cd ~/droonga
     # host=192.168.0.12
+    # DROONGA_BASE_DIR=/vagra
     # droonga-engine --host=$host \
-                     --log-file=$PWD/droonga-engine.log \
+                     --log-file=$DROONGA_BASE_DIR/droonga-engine.log \
                      --daemon \
-                     --pid-file=$PWD/droonga-engine.pid
+                     --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid
     # env NODE_ENV=production \
         droonga-http-server --port=10041 \
                             --receive-host-name=$host \
                             --droonga-engine-host-name=$host \
                             --cache-size=-1 \
                             --daemon \
-                            --pid-file=$PWD/droonga-http-server.pid
+                            --pid-file=$DROONGA_BASE_DIR/droonga-http-server.pid
 
 Then there are two separate Droonga clusters on this time.
 
-------------- next part --------------
HTML����������������������������...
Download 



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