From 8b123ed83a513f7575d4afb9d99a33835f5a1aaf Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 6 Feb 2022 15:33:41 +0100 Subject: [PATCH] Update install --- scripts/install | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/install b/scripts/install index 708205e..cf2b180 100755 --- a/scripts/install +++ b/scripts/install @@ -134,22 +134,22 @@ chmod 644 "/etc/cron.d/$app" # SETUP APPLICATION WITH CURL #================================================= -# # Set the app as temporarily public for curl call -# ynh_script_progression --message="Configuring SSOwat..." --weight=1 -# # Making the app public for curl -# ynh_permission_update --permission="main" --add="visitors" +# Set the app as temporarily public for curl call +ynh_script_progression --message="Configuring SSOwat..." --weight=1 +# Making the app public for curl +ynh_permission_update --permission="main" --add="visitors" -# # Reload NGINX -# ynh_systemd_action --service_name=nginx --action=reload +# Reload NGINX +ynh_systemd_action --service_name=nginx --action=reload -# # Installation with curl -# ynh_script_progression --message="Finalizing installation..." --weight=1 +# Installation with curl +ynh_script_progression --message="Finalizing installation..." --weight=1 -# ynh_local_curl "/cp-install" +ynh_local_curl "/cp-install" "email=$email" "username=$admin" "password='$password'" # ynh_local_curl "/cp-install/create-superadmin" "email=$email" "username=$admin" "password='$password'" -# ynh_permission_update --permission="main" --remove="visitors" +ynh_permission_update --permission="main" --remove="visitors" #================================================= # SETUP SSOWAT