discourse update: take multiple services into account

This commit is contained in:
Milan 2024-05-03 08:50:31 +02:00
parent b472f9624a
commit 7aa56bb5f8

View File

@ -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
systemctl status --user $services