From 83eb4f32379742efc36fa935b757773d86b73628 Mon Sep 17 00:00:00 2001 From: ewilly Date: Thu, 19 Oct 2023 22:42:21 +0200 Subject: [PATCH 1/3] 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 From 62c9a53b3f8ed60a0c54335d53756719ec615841 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 19 Oct 2023 20:43:15 +0000 Subject: [PATCH 2/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ccb082..44acab8 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in SearxXNG is a free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled. -**Shipped version:** 2023.10.13.10.49.52~ynh2 +**Shipped version:** 2023.10.13.10.49.52~ynh3 **Demo:** https://searx.be diff --git a/README_fr.md b/README_fr.md index 3a92f2e..eaee08f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po SearxXNG is a free internet metasearch engine which aggregates results from more than 70 search services. Users are neither tracked nor profiled. -**Version incluse :** 2023.10.13.10.49.52~ynh2 +**Version incluse :** 2023.10.13.10.49.52~ynh3 **Démo :** https://searx.be From 3ba489fc6aab7b4e6c08ae18820e3722bf138406 Mon Sep 17 00:00:00 2001 From: ewilly Date: Thu, 19 Oct 2023 22:54:27 +0200 Subject: [PATCH 3/3] Add --not_mandatory --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 598bf18..2011cc8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -117,7 +117,7 @@ ynh_backup_uwsgi_service () { ynh_restore_uwsgi_service () { ynh_check_global_uwsgi_config ynh_restore_file --origin_path="/etc/uwsgi/apps-available/$app.ini" - ynh_restore_file --origin_path="/etc/systemd/system/uwsgi-app@$app.service.d" + ynh_restore_file --origin_path="/etc/systemd/system/uwsgi-app@$app.service.d" --not_mandatory mkdir -p "/var/log/uwsgi/$app" chown $app:root "/var/log/uwsgi/$app"