From: Guo Xiang Tan Date: Tue, 18 Sep 2018 09:10:44 +0000 (+0800) Subject: Run command in Discourse's dir by default. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4535fb546081817f0a2ffdd9cc587191b46e4a5f;p=discourse_docker.git Run command in Discourse's dir by default. --- 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() {