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:59:27 +01:00
parent 77d274ca28
commit 2d731bf8cc

View file

@ -122,10 +122,10 @@ ynh_add_nginx_config
ynh_script_progression --message="Adding a configuration file..." --weight=1 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/config.yml" --destination="$final_path/config/config.yml"
ynh_add_config --template="../conf/.env" --destination="$final_path/.env" ynh_add_config --template="../conf/.env" --destination="$final_path/public/.env"
chmod 650 "$final_path/.env" chmod 650 "$final_path/public/.env.env"
chown $app:$app "$final_path/.env" chown $app:$app "$final_path/public/.env.env"
chmod 650 "$final_path/config/config.yml" chmod 650 "$final_path/config/config.yml"
chown $app:$app "$final_path/config/config.yml" chown $app:$app "$final_path/config/config.yml"