1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

Update install

This commit is contained in:
Thomas 2024-02-21 08:28:49 +01:00 committed by GitHub
parent b732fd2b15
commit 8e6e55796d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,8 +124,9 @@ cp -r "$install_dir/build/services/" "$install_dir/live/services/"
cp -r "$install_dir/build/patches/" "$install_dir/live/patches/"
cp -r "$install_dir/build/server-ce/config" "$install_dir/config/"
ynh_secure_remove --file="$install_dir/config/settings.js"
ynh_secure_remove --file="$install_dir/config/production.json"
ynh_add_config --template="../conf/production.json" --destination="$install_dir/build/server-ce/config/production.json"
ynh_add_config --template="../conf/production.json" --destination="$install_dir/config/production.json"
ynh_add_config --template="../conf/production.json" --destination="$install_dir/live/services/history-v1/config/production.json"
cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$install_dir/live/services/history-v1/config/"
@ -223,4 +224,4 @@ ynh_systemd_action --service_name="$app-web" --action="start" --log_path="/var/l
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Installation of $app completed"
ynh_script_progression --message="Installation of $app completed"