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

Merge pull request #153 from YunoHost-Apps/master-promotion

Upgrade master from testing
This commit is contained in:
ewilly 2023-10-20 08:22:05 +02:00 committed by GitHub
commit 0fdaf8e64e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 8 deletions

View file

@ -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. 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 **Demo:** https://searx.be

View file

@ -19,7 +19,7 @@ Si vous navez 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. 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 **Démo :** https://searx.be

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.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" 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"] maintainers = ["mh4ckt3mh4ckt1c4s"]

View file

@ -34,7 +34,6 @@ Restart=always
RestartSec=10 RestartSec=10
KillSignal=SIGQUIT KillSignal=SIGQUIT
Type=notify Type=notify
StandardError=syslog
NotifyAccess=all NotifyAccess=all
[Install] [Install]
@ -108,9 +107,7 @@ ynh_remove_uwsgi_service () {
# usage: ynh_backup_uwsgi_service # usage: ynh_backup_uwsgi_service
ynh_backup_uwsgi_service () { ynh_backup_uwsgi_service () {
ynh_backup --src_path="/etc/uwsgi/apps-available/$app.ini" 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" --not_mandatory
ynh_backup --src_path="/etc/systemd/system/uwsgi-app@$app.service.d"
fi
} }
# Restore the dedicated uwsgi config # Restore the dedicated uwsgi config
@ -120,7 +117,7 @@ ynh_backup_uwsgi_service () {
ynh_restore_uwsgi_service () { ynh_restore_uwsgi_service () {
ynh_check_global_uwsgi_config ynh_check_global_uwsgi_config
ynh_restore_file --origin_path="/etc/uwsgi/apps-available/$app.ini" 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" mkdir -p "/var/log/uwsgi/$app"
chown $app:root "/var/log/uwsgi/$app" chown $app:root "/var/log/uwsgi/$app"