From c36343cda3fb37619385a5ddbafb1370f93141f1 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Fri, 8 Apr 2022 15:19:14 +0200 Subject: [PATCH] Fix restart during deploy pumactl restart does not make the worker re-read their working directory. Hence new code is never used... Use stop/start via systemd again. --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index cb0d9489..af9ebaf4 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -36,7 +36,7 @@ task :deploy do on :launch do in_path(fetch(:current_path)) do - command %{bundle exec pumactl restart -e production} + command %{sudo systemctl restart osem} command %{sudo systemctl restart osem-dj} end end