From 4535fb546081817f0a2ffdd9cc587191b46e4a5f Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 18 Sep 2018 17:10:44 +0800 Subject: [PATCH] Run command in Discourse's dir by default. --- launcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher b/launcher index 5b5d5dc..684174b 100755 --- a/launcher +++ b/launcher @@ -593,7 +593,7 @@ run_run() { setup_bootstrap $docker_path run --rm --shm-size=512m $user_args $links "${env[@]}" -e DOCKER_HOST_IP="$docker_ip" -i -a stdin -a stdout -a stderr $volumes $image \ - /bin/bash -c "$run_command" + /bin/bash --login -c "$run_command" } run_bootstrap() { -- 2.25.1