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

Fix syslog error in uwsgi-app service

This commit is contained in:
ewilly 2023-10-19 22:42:21 +02:00
parent 53fc12a10b
commit 83eb4f3237
2 changed files with 2 additions and 5 deletions

View file

@ -5,7 +5,7 @@ name = "SearXNG"
description.en = "A free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled"
description.fr = "Un méta-moteur de recherche qui rassemble les résultats de plus de 70 services de recherche. Les utilisateurs ne sont ni suivis ni espionnés"
version = "2023.10.13.10.49.52~ynh2"
version = "2023.10.13.10.49.52~ynh3"
maintainers = ["mh4ckt3mh4ckt1c4s"]

View file

@ -34,7 +34,6 @@ Restart=always
RestartSec=10
KillSignal=SIGQUIT
Type=notify
StandardError=syslog
NotifyAccess=all
[Install]
@ -108,9 +107,7 @@ ynh_remove_uwsgi_service () {
# usage: ynh_backup_uwsgi_service
ynh_backup_uwsgi_service () {
ynh_backup --src_path="/etc/uwsgi/apps-available/$app.ini"
if [ -e "/etc/systemd/system/uwsgi-app@$app.service.d" ]; then
ynh_backup --src_path="/etc/systemd/system/uwsgi-app@$app.service.d"
fi
ynh_backup --src_path="/etc/systemd/system/uwsgi-app@$app.service.d" --not_mandatory
}
# Restore the dedicated uwsgi config