1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Fix linter warning

This commit is contained in:
Josué Tille 2021-03-07 17:35:19 +01:00
parent d7e28820ef
commit 30ea20bb15
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 6 additions and 3 deletions

View file

@ -128,6 +128,11 @@ ynh_remove_uwsgi_service () {
fi
}
ynh_restore_uwsgi_service () {
ynh_check_global_uwsgi_config
systemctl enable "uwsgi-app@$app" --quiet
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/$app/$app.log"
}
#=================================================
# OTHERS HELPERS

View file

@ -55,9 +55,7 @@ ynh_psql_execute_as_root \
# Restore systemd configuration
ynh_script_progression --message="Reconfiguring application..."
ynh_check_global_uwsgi_config
systemctl enable "uwsgi-app@$app" --quiet
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/$app/$app.log"
ynh_restore_uwsgi_service
#=================================================
# GENERIC FINALIZATION