mirror of
https://github.com/YunoHost-Apps/pydio_ynh.git
synced 2024-09-03 20:16:05 +02:00
debug
This commit is contained in:
parent
db13e648d2
commit
0bf517abf6
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue