Update install

This commit is contained in:
Éric Gaspar 2023-07-17 10:06:24 +02:00
parent 9a55b628a7
commit 1474ea5d8e

View file

@ -128,16 +128,16 @@ chown -R $app:www-data "$datadir"
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..."
#ynh_script_progression --message="Adding a configuration file..."
ynh_add_config --template="../conf/install-conf.yml" --destination="$final_path/install-conf.yml"
ynh_delete_file_checksum --file="$final_path/install-conf.yml"
#ynh_add_config --template="../conf/install-conf.yml" --destination="$final_path/install-conf.yml"
#ynh_delete_file_checksum --file="$final_path/install-conf.yml"
pushd "$final_path"
ynh_exec_as $app ./cells configure --cli --yaml "$final_path/install-conf.yml"
popd
#pushd "$final_path"
# ynh_exec_as $app ./cells configure --cli --yaml "$final_path/install-conf.yml"
#popd
ynh_secure_remove --file="$final_path/install-conf.yml"
#ynh_secure_remove --file="$final_path/install-conf.yml"
#=================================================
# SETUP SYSTEMD