2020-12-03 18:53:34 +01:00
|
|
|
[Unit]
|
|
|
|
Description=FaSTTUBe Corona Tracker
|
|
|
|
After=syslog.target network.target nginx.service
|
|
|
|
|
|
|
|
# Configuration mostly stolen from from uwsgi docs
|
|
|
|
[Service]
|
|
|
|
User=www-data
|
2020-12-03 23:19:32 +01:00
|
|
|
ExecStart=/usr/bin/uwsgi --ini /root/ftracker/res/ftracker.uwsgi.ini
|
2020-12-03 18:53:34 +01:00
|
|
|
RuntimeDirectory=uwsgi
|
|
|
|
Restart=always
|
|
|
|
KillSignal=SIGQUIT
|
|
|
|
Type=notify
|
|
|
|
StandardError=syslog
|
|
|
|
NotifyAccess=all
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|