From 0ee979a51064944dec1dea940bd56ec9e3e47cf7 Mon Sep 17 00:00:00 2001 From: Chris Vogel Date: Wed, 24 Apr 2024 08:32:38 +0200 Subject: [PATCH] change debugging --- scripts/restore | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/restore b/scripts/restore index 851e1dd..8121fe9 100755 --- a/scripts/restore +++ b/scripts/restore @@ -76,14 +76,14 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload # add some debugging to find #21 -ls -lR /var/lib/couchdb /opt/couchdb/ $install_dir /var/log/couchdb/couchdb.log /var/log/$app/$app.log \ - $data_dir /etc/nginx/conf.d/$domain.d/$app.conf -cat $install_dir/$app/flohmarkt.conf /opt/couchdb/etc/local.d/05-flohmarkt.ini -cat /var/log/couchdb/couchdb.log /var/log/$app/$app.log -netstat -pnlt -systemctl status flohmarkt -systemctl status couchdb -ps axuf +ynh_exec_warn ls -lR /var/lib/couchdb /opt/couchdb/ $install_dir /var/log/couchdb/couchdb.log \ + /var/log/$app/$app.log $data_dir /etc/nginx/conf.d/$domain.d/$app.conf +ynh_exec_warn cat $install_dir/$app/flohmarkt.conf /opt/couchdb/etc/local.d/05-flohmarkt.ini +ynh_exec_warn cat /var/log/couchdb/couchdb.log /var/log/$app/$app.log +ynh_exec_warn netstat -pnlt +ynh_exec_warn systemctl status flohmarkt +ynh_exec_warn systemctl status couchdb +ynh_exec_warn ps axuf # debug end ynh_script_progression --message="Restoration completed for $app" --last