Revert "Allow user arguments to be passed to Docker stop command."
authorGuo Xiang Tan <tgx_world@hotmail.com>
Wed, 21 Jun 2017 08:05:19 +0000 (17:05 +0900)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Wed, 21 Jun 2017 08:05:19 +0000 (17:05 +0900)
This reverts commit 94d7c3b4b7e0ec99c9beda18705d39a6b84e4b55.

launcher
templates/web.template.yml

index daf818ca3d10857d5052059aba51e9a5f4f18a0e..850041abe6580917cd3e94249e1f7e25731c8136 100755 (executable)
--- a/launcher
+++ b/launcher
@@ -419,7 +419,7 @@ run_stop() {
      then
        (
         set -x
-        $docker_path stop -t 10 $user_args $config
+        $docker_path stop -t 10 $config
        )
      else
        echo "$config was not started !"
index 692dbb152a108cb9919e26e41cb9d1aeb7f986e9..8bfe6daa9fe59aa78260606a9d5d95822168938e 100644 (file)
@@ -62,7 +62,7 @@ run:
 
         # find DISCOURSE_ env vars, strip the leader, lowercase the key
         /usr/local/bin/ruby -e 'ENV.each{|k,v| puts "#{$1.downcase} = #{v}" if k =~ /^DISCOURSE_(.*)/}' > $conf
-
+        
   - file:
      path: /etc/runit/1.d/enable-brotli
      chmod: "+x"