1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

adjusted warning level

This commit is contained in:
Chris Vogel 2024-04-24 08:54:13 +02:00
parent 0ee979a510
commit 6786112cc4

View file

@ -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
ynh_exec_warn ls -lR /var/lib/couchdb /opt/couchdb/ $install_dir /var/log/couchdb/couchdb.log \
ynh_exec_warn_less ls -lR /var/lib/couchdb /opt/couchdb/etc $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
ynh_exec_warn_less cat $install_dir/$app/flohmarkt.conf /opt/couchdb/etc/local.d/05-flohmarkt.ini
ynh_exec_warn_less cat /var/log/couchdb/couchdb.log /var/log/$app/$app.log
ynh_exec_warn_less netstat -pnlt
ynh_exec_warn_less systemctl status flohmarkt
ynh_exec_warn_less systemctl status couchdb
ynh_exec_warn_less ps axuf
# debug end
ynh_script_progression --message="Restoration completed for $app" --last