From 7aa56bb5f8cc0fcfd8160dfa5928c98e48462a15 Mon Sep 17 00:00:00 2001 From: Milan Date: Fri, 3 May 2024 08:50:31 +0200 Subject: [PATCH] discourse update: take multiple services into account --- updates/discourse.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/updates/discourse.sh b/updates/discourse.sh index ef82505..35f2ca1 100644 --- a/updates/discourse.sh +++ b/updates/discourse.sh @@ -14,6 +14,7 @@ fi echo basedir=$HOME/discourse +services="sidekiq discourse" patch=$HOME/latest.patch # not clear why this is a samplefile # they seem to do this by hand on the docker repo @@ -59,8 +60,8 @@ then fi RAILS_ENV=production bundle exec rails db:migrate -systemctl restart --user discourse +systemctl restart --user $services sleep 2 -systemctl status --user discourse \ No newline at end of file +systemctl status --user $services \ No newline at end of file