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

Fix linter warning

This commit is contained in:
ericgaspar 2020-11-24 15:44:08 +01:00
parent 267b8a8f9d
commit eebd548939
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 14 additions and 0 deletions

View file

@ -88,6 +88,13 @@ chown $app:root /var/log/uwsgi/$app
ynh_check_global_uwsgi_config ynh_check_global_uwsgi_config
systemctl enable "uwsgi-app@$app.service" systemctl enable "uwsgi-app@$app.service"
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
# Ajoute le service au monitoring de YunoHost.
yunohost service add uwsgi --log "/var/log/uwsgi/app/$app.log"
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALISATION
#================================================= #=================================================

View file

@ -166,6 +166,13 @@ ynh_secure_remove --file="/etc/uwsgi/apps-enabled/$app.ini"
ynh_secure_remove --file="/etc/uwsgi/apps-available/$app.ini" ynh_secure_remove --file="/etc/uwsgi/apps-available/$app.ini"
ynh_add_uwsgi_service ynh_add_uwsgi_service
#=================================================
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
# Ajoute le service au monitoring de YunoHost.
yunohost service add uwsgi --log "/var/log/uwsgi/app/$app.log"
#================================================= #=================================================
# CHECK SEARX STARTING # CHECK SEARX STARTING
#================================================= #=================================================