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.
This commit is contained in:
Henne Vogelsang 2022-04-08 15:19:14 +02:00
parent 18391e0983
commit c36343cda3
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6

View file

@ -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