Chris Vogel 1 год назад
Родитель
Сommit
0ee979a510
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      scripts/restore

+ 8 - 8
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