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:
parent
53fc12a10b
commit
83eb4f3237
2 changed files with 2 additions and 5 deletions
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue