From 94d7c3b4b7e0ec99c9beda18705d39a6b84e4b55 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 21 Jun 2017 15:32:12 +0900 Subject: [PATCH] Allow user arguments to be passed to Docker stop command. --- launcher | 2 +- templates/web.template.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher b/launcher index 850041a..daf818c 100755 --- a/launcher +++ b/launcher @@ -419,7 +419,7 @@ run_stop() { then ( set -x - $docker_path stop -t 10 $config + $docker_path stop -t 10 $user_args $config ) else echo "$config was not started !" diff --git a/templates/web.template.yml b/templates/web.template.yml index 8bfe6da..692dbb1 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -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" -- 2.25.1