Add the files we use for production deployments

We are using apache as reverse proxy and two systemd units
(puma & delayed job) for events.opensuse.org. Track them
also in this project, might be useful for others.
This commit is contained in:
Henne Vogelsang 2019-02-15 22:16:10 +01:00
parent ea17b8452d
commit 7a97541bc9
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
4 changed files with 76 additions and 0 deletions

View file

@ -38,6 +38,7 @@ task :deploy do
in_path(fetch(:current_path)) do
command %{mkdir -p tmp/}
command %{touch tmp/restart.txt}
command %{sudo systemctl restart osem-dj}
end
end
end