mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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:
parent
9cc5c83477
commit
228190396c
4 changed files with 76 additions and 0 deletions
13
dist/osem.service
vendored
Normal file
13
dist/osem.service
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Open Source Event Manager
|
||||
Wants=apache2.service
|
||||
Before=apache2.service
|
||||
|
||||
[Service]
|
||||
User=osem
|
||||
EnvironmentFile=/home/osem/events/current/.env.production
|
||||
WorkingDirectory=/home/osem/events/current
|
||||
ExecStart=/usr/bin/bundle exec puma -e production
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue