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 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..2011cc8 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 @@ -120,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"