[Groonga-commit] droonga/droonga-http-server at b3be64a [master] Set environment variable HOME on run_as_user() for Debian/GNU Linux

Back to archive index

KITAITI Makoto null+****@clear*****
Mon Jan 11 23:59:56 JST 2016


KITAITI Makoto	2016-01-11 23:59:56 +0900 (Mon, 11 Jan 2016)

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

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

  Message:
    Set environment variable HOME on run_as_user() for Debian/GNU Linux

  Modified files:
    install.sh

  Modified: install.sh (+1 -0)
===================================================================
--- install.sh    2016-01-11 20:37:08 +0900 (36889ed)
+++ install.sh    2016-01-11 23:59:56 +0900 (6ed3be6)
@@ -122,6 +122,7 @@ prepare_user() {
 
 run_as_user() {
   sudo -u $USER /bin/bash -c "
+  export HOME=/home/$USER
   export PATH=$NODEJS_BASE_DIR/bin:$PATH
   $1
   "
-------------- next part --------------
HTML����������������������������...
Download 



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