1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00
searxng_ynh/conf/systemd.service

19 lines
431 B
SYSTEMD
Raw Normal View History

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 15:43:37 +01:00
RuntimeDirectory=__FINAL_PATH__
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