mirror of
https://github.com/YunoHost-Apps/searxng_ynh.git
synced 2024-09-03 20:26:00 +02:00
Update systemd.service
This commit is contained in:
parent
e1befcaf01
commit
187161da63
1 changed files with 6 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
|||
[Unit]
|
||||
Description=%i uWSGI app
|
||||
Description=__APP__ uWSGI app
|
||||
After=syslog.target
|
||||
[Service]
|
||||
RuntimeDirectory=%i
|
||||
RuntimeDirectory=__FINAL_PATH__
|
||||
ExecStart=/usr/bin/uwsgi \
|
||||
--ini /etc/uwsgi/apps-available/%i.ini \
|
||||
--socket /var/run/%i/app.socket \
|
||||
--logto /var/log/uwsgi/%i/%i.log
|
||||
User=%i
|
||||
--ini /etc/uwsgi/apps-available/searxng.ini \
|
||||
--socket /var/run/searxng/app.socket \
|
||||
--logto /var/log/uwsgi/searxng/searxng.log
|
||||
User=__APP__
|
||||
Group=www-data
|
||||
Restart=on-failure
|
||||
KillSignal=SIGQUIT
|
||||
|
|
Loading…
Add table
Reference in a new issue