From 83eb4f32379742efc36fa935b757773d86b73628 Mon Sep 17 00:00:00 2001 From: ewilly Date: Thu, 19 Oct 2023 22:42:21 +0200 Subject: [PATCH] Fix syslog error in uwsgi-app service --- manifest.toml | 2 +- scripts/_common.sh | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/manifest.toml b/manifest.toml index 2b963f3..7405221 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 9158759..598bf18 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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