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 2021-05-14 08:05:54 +02:00
parent f69a4832e9
commit 1715f207d7

View file

@ -109,6 +109,16 @@ ynh_script_progression --message="Setuping a cron..."
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
#=================================================
# GENERIC FINALIZATION
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
# Set permissions to app files
chown -R $app: $final_path
chmod 600 $final_path/.env
#=================================================
# SETUP APPLICATION WITH CURL
#=================================================
@ -130,16 +140,6 @@ ynh_local_curl "/cp-install/create-superadmin" "email=$email" "username=$admin"
ynh_permission_update --permission="main" --remove="visitors"
#=================================================
# GENERIC FINALIZATION
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
# Set permissions to app files
chown -R $app: $final_path
chmod 600 $final_path/.env
#=================================================
# SETUP SSOWAT
#=================================================