From 755fff3554efadca975e5d7a6db3da135dd039e4 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 24 Jan 2018 10:52:21 +1100 Subject: [PATCH] add missing exec --- templates/web.template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/web.template.yml b/templates/web.template.yml index 3996a36..1414947 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -204,14 +204,14 @@ run: chmod: +x contents: | #!/bin/bash - (cd /var/www/discourse && RAILS_ENV=production sudo -H -E -u discourse bundle rbtrace "$@") + (cd /var/www/discourse && RAILS_ENV=production sudo -H -E -u discourse bundle exec rbtrace "$@") - file: path: /usr/local/bin/stackprof chmod: +x contents: | #!/bin/bash - (cd /var/www/discourse && RAILS_ENV=production sudo -H -E -u discourse bundle stackprof "$@") + (cd /var/www/discourse && RAILS_ENV=production sudo -H -E -u discourse bundle exec stackprof "$@") - file: path: /etc/update-motd.d/10-web -- 2.25.1