This commit is contained in:
Salamandar 2024-01-28 17:45:35 +01:00
parent db13e648d2
commit 0bf517abf6

View file

@ -32,10 +32,15 @@ ynh_add_config --template="../conf/install-conf.yml" --destination="$install_dir
ynh_delete_file_checksum --file="$install_dir/install-conf.yml"
pushd "$install_dir"
ynh_exec_as "$app" ./cells configure --cli --yaml "./install-conf.yml"
ynh_exec_warn ynh_exec_as "$app" ./cells configure --cli --yaml "./install-conf.yml"
popd
ynh_secure_remove --file="$install_dir/install-conf.yml"
ynh_exec_warn echo "###### LISTING $install_dir"
ynh_exec_warn find "$install_dir"
ynh_exec_warn echo "###### LISTING $data_dir"
ynh_exec_warn find "$data_dir"
#=================================================
# SYSTEM CONFIGURATION
#=================================================
@ -56,6 +61,12 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Restart done"
ynh_exec_warn echo "###### LISTING $install_dir"
ynh_exec_warn find "$install_dir"
ynh_exec_warn echo "###### LISTING $data_dir"
ynh_exec_warn find "$data_dir"
#=================================================
# END OF SCRIPT
#=================================================