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-02-06 15:25:37 +01:00
parent bc6c5880ac
commit f947f2384c
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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"
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