1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Update install

This commit is contained in:
ericgaspar 2022-10-14 22:19:58 +02:00
parent b470507394
commit cb1461712c

View file

@ -145,22 +145,22 @@ chmod 644 "/etc/cron.d/$app"
# SETUP APPLICATION WITH CURL # SETUP APPLICATION WITH CURL
#================================================= #=================================================
# Set the app as temporarily public for curl call # # Set the app as temporarily public for curl call
ynh_script_progression --message="Configuring SSOwat..." --weight=1 # ynh_script_progression --message="Configuring SSOwat..." --weight=1
# Making the app public for curl # # Making the app public for curl
ynh_permission_update --permission="main" --add="visitors" # ynh_permission_update --permission="main" --add="visitors"
# Reload NGINX # # Reload NGINX
ynh_systemd_action --service_name=nginx --action=reload # ynh_systemd_action --service_name=nginx --action=reload
# Installation with curl # # Installation with curl
ynh_script_progression --message="Finalizing installation..." --weight=1 # ynh_script_progression --message="Finalizing installation..." --weight=1
ynh_local_curl "/cp-install" # ynh_local_curl "/cp-install"
ynh_local_curl "/cp-install/create-superadmin" "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 # SETUP SSOWAT