2022-11-23 10:08:54 +01:00
|
|
|
[Unit]
|
2022-11-23 15:43:37 +01:00
|
|
|
Description=__APP__ uWSGI app
|
2022-11-23 12:46:39 +01:00
|
|
|
After=syslog.target
|
2022-11-23 10:08:54 +01:00
|
|
|
[Service]
|
2022-11-23 16:36:07 +01:00
|
|
|
RuntimeDirectory=__FINALPATH__
|
2022-11-23 12:46:39 +01:00
|
|
|
ExecStart=/usr/bin/uwsgi \
|
2022-11-23 15:43:37 +01:00
|
|
|
--ini /etc/uwsgi/apps-available/searxng.ini \
|
|
|
|
--socket /var/run/searxng/app.socket \
|
|
|
|
--logto /var/log/uwsgi/searxng/searxng.log
|
|
|
|
User=__APP__
|
2022-11-23 12:46:39 +01:00
|
|
|
Group=www-data
|
|
|
|
Restart=on-failure
|
|
|
|
KillSignal=SIGQUIT
|
|
|
|
Type=notify
|
|
|
|
StandardError=syslog
|
|
|
|
NotifyAccess=all
|
2022-11-23 10:08:54 +01:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|