[Groonga-commit] droonga/droonga.org at b6e74e9 [gh-pages] Specify absolute path for pid file and log file

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jun 25 14:09:47 JST 2014


YUKI Hiroshi	2014-06-25 14:09:47 +0900 (Wed, 25 Jun 2014)

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

  Message:
    Specify absolute path for pid file and log file

  Modified files:
    _po/ja/tutorial/1.0.4/groonga/index.po
    ja/tutorial/1.0.4/groonga/index.md
    tutorial/1.0.4/groonga/index.md

  Modified: _po/ja/tutorial/1.0.4/groonga/index.po (+5 -3)
===================================================================
--- _po/ja/tutorial/1.0.4/groonga/index.po    2014-06-25 12:01:50 +0900 (12849be)
+++ _po/ja/tutorial/1.0.4/groonga/index.po    2014-06-25 14:09:47 +0900 (ee4906a)
@@ -246,17 +246,19 @@ msgstr "サービスを起動するには、各Droongaノードで以下のよ
 msgid ""
 "    # cd ~/droonga\n"
 "    # host=192.168.0.10\n"
+"    # DROONGA_BASE_DIR=$PWD\n"
 "    # droonga-engine --host=$host \\\n"
-"                     --log-file=$PWD/droonga-engine.log \\\n"
+"                     --log-file=$DROONGA_BASE_DIR/droonga-engine.log \\\n"
 "                     --daemon \\\n"
-"                     --pid-file=$PWD/droonga-engine.pid\n"
+"                     --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid\n"
 "    # env NODE_ENV=production \\\n"
 "        droonga-http-server --port=10041 \\\n"
 "                            --receive-host-name=$host \\\n"
 "                            --droonga-engine-host-name=$host \\\n"
 "                            --cache-size=-1 \\\n"
 "                            --daemon \\\n"
-"                            --pid-file=$PWD/droonga-http-server.pid"
+"                            --pid-file=$DROONGA_BASE_DIR/droonga-http-server.p"
+"id"
 msgstr ""
 
 msgid ""

  Modified: ja/tutorial/1.0.4/groonga/index.md (+4 -3)
===================================================================
--- ja/tutorial/1.0.4/groonga/index.md    2014-06-25 12:01:50 +0900 (cafb4f4)
+++ ja/tutorial/1.0.4/groonga/index.md    2014-06-25 14:09:47 +0900 (65d848c)
@@ -118,17 +118,18 @@ GroongaをHTTPサーバとして使う場合は、以下のように `-d` オプ
 
     # cd ~/droonga
     # host=192.168.0.10
+    # DROONGA_BASE_DIR=$PWD
     # 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
 
 いくつかのオプションにおいて、そのDroongaノード自身のホスト名を指定する必要がある事に注意して下さい。
 この情報は、クラスタ内の他のDroongaノードとの通信のために使われます。

  Modified: tutorial/1.0.4/groonga/index.md (+4 -3)
===================================================================
--- tutorial/1.0.4/groonga/index.md    2014-06-25 12:01:50 +0900 (66b441a)
+++ tutorial/1.0.4/groonga/index.md    2014-06-25 14:09:47 +0900 (9a15d49)
@@ -109,17 +109,18 @@ To start them, run commands like following on each Droonga node:
 
     # cd ~/droonga
     # host=192.168.0.10
+    # DROONGA_BASE_DIR=$PWD
     # 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
 
 Note that you have to specify the host name of the Droonga node itself via some options.
 It will be used to communicate with other Droonga nodes in the cluster.
-------------- next part --------------
HTML����������������������������...
Télécharger 



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