osem-fcy/dist/osem.service
Henne Vogelsang 228190396c 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.
2019-02-16 00:40:47 +01:00

13 lines
300 B
Desktop File

[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