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:
parent
d7e28820ef
commit
30ea20bb15
2 changed files with 6 additions and 3 deletions
|
@ -128,6 +128,11 @@ ynh_remove_uwsgi_service () {
|
||||||
fi
|
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
|
# OTHERS HELPERS
|
||||||
|
|
|
@ -55,9 +55,7 @@ ynh_psql_execute_as_root \
|
||||||
|
|
||||||
# Restore systemd configuration
|
# Restore systemd configuration
|
||||||
ynh_script_progression --message="Reconfiguring application..."
|
ynh_script_progression --message="Reconfiguring application..."
|
||||||
ynh_check_global_uwsgi_config
|
ynh_restore_uwsgi_service
|
||||||
systemctl enable "uwsgi-app@$app" --quiet
|
|
||||||
yunohost service add "uwsgi-app@$app" --log "/var/log/uwsgi/$app/$app.log"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue