[Groonga-commit] droonga/droonga-http-server at fc9ef23 [master] Pass multiple arguments instead of single string to run_as_user()

Back to archive index

KITAITI Makoto null+****@clear*****
Sat Jan 16 17:43:18 JST 2016


KITAITI Makoto	2016-01-16 17:43:18 +0900 (Sat, 16 Jan 2016)

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

  Merged 0f9441b: Merge pull request #13 from KitaitiMakoto/systemd

  Message:
    Pass multiple arguments instead of single string to run_as_user()

  Modified files:
    install.sh

  Modified: install.sh (+1 -3)
===================================================================
--- install.sh    2016-01-16 17:42:41 +0900 (100f851)
+++ install.sh    2016-01-16 17:43:18 +0900 (9cc1e60)
@@ -209,8 +209,7 @@ setup_configuration_directory() {
     fi
 
     # we should use --no-prompt instead of --quiet, for droonga-http-server 1.0.9 and later.
-    run_as_user "
-    droonga-http-server-configure --quiet \
+    run_as_user droonga-http-server-configure --quiet \
                                   --droonga-engine-host-name=$ENGINE_HOST \
                                   --droonga-engine-port=$ENGINE_PORT \
                                   --receive-host-name=$HOST \
@@ -219,7 +218,6 @@ setup_configuration_directory() {
       echo \"ERROR: Failed to configure $NAME!\"
       exit 1
     fi
-    "
   fi
 
   chown -R $USER:$GROUP $DROONGA_BASE_DIR
-------------- next part --------------
HTML����������������������������...
Download 



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