mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
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.
17 lines
470 B
Desktop File
17 lines
470 B
Desktop File
[Unit]
|
|
Description=Open Source Event Manager Delayed Jobs
|
|
Wants=osem.service
|
|
Before=osem.service
|
|
|
|
[Service]
|
|
User=osem
|
|
EnvironmentFile=/home/osem/events/current/.env.production
|
|
WorkingDirectory=/home/osem/events/current
|
|
ExecStart = /usr/bin/bundle exec bin/delayed_job -e production start
|
|
ExecStop = /usr/bin/bundle exec bin/delayed_job -e production stop
|
|
Type = forking
|
|
PIDFile = /home/osem/events/current/tmp/pids/delayed_job.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|