mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 19:37:06 +00:00
13 lines
353 B
Django/Jinja
13 lines
353 B
Django/Jinja
[Unit]
|
|
Description=uWSGI Emperor Service
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/bash -c 'mkdir -p /run/uwsgi; chown {{ web_user }}:{{ web_group }} /run/uwsgi; source scl_source rh-python36'
|
|
ExecStart=/bin/scl enable rh-python36 "uwsgi --emperor /etc/uwsgi/sites"
|
|
Restart=always
|
|
KillSignal=SIGQUIT
|
|
Type=notify
|
|
NotifyAccess=all
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |