From 5a73834c58a505c8c683dc006cb7e0ddc69dde9e Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 26 Aug 2014 08:25:08 +1000 Subject: [PATCH] spaces matter. --- launcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher b/launcher index c23a0ce..0cd5ea5 100755 --- a/launcher +++ b/launcher @@ -245,7 +245,7 @@ if compare_version "1.2.0" "$docker_version"; then echo "We recommend you upgrade docker, the version you are running has no restart policies, on reboot your container may not start up" restart_policy="" else - restart_policy="--restart=always" + restart_policy="--restart=always " fi @@ -286,7 +286,7 @@ run_start(){ exit 1 fi - $docker_path run "$restart_policy" "${env[@]}" -h "`hostname`-$config" -e DOCKER_HOST_IP=$docker_ip --name $config -t --cidfile $cidfile $ports \ + $docker_path run "$restart_policy""${env[@]}" -h "`hostname`-$config" -e DOCKER_HOST_IP=$docker_ip --name $config -t --cidfile $cidfile $ports \ -d $volumes $local_discourse/$config /sbin/runit exit 0 -- 2.25.1