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

Update install

This commit is contained in:
Éric Gaspar 2023-01-29 15:35:34 +01:00
parent ce65657e01
commit cbb883497c

View file

@ -27,6 +27,7 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC
key=$(ynh_string_random --length=32)
app=$YNH_APP_INSTANCE_NAME
@ -120,10 +121,10 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml"
ynh_add_config --template="../conf/.env" --destination="$final_path/.env"
chmod 400 "$final_path/config/config.yml"
chown $app:$app "$final_path/config/config.yml"
chmod 400 "$final_path/.env"
chown $app:$app "$final_path/.env"
#=================================================
# SETUP SSOWAT