Browse Source

[contrib] clean log files

mohab metwally 3 năm trước cách đây
mục cha
commit
02f022f491
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      contrib/localnet/darkfid-five-nodes/clean.sh

+ 6 - 0
contrib/localnet/darkfid-five-nodes/clean.sh

@@ -1,2 +1,8 @@
 #!/bin/sh
 rm -rf darkfid0 darkfid1 darkfid2 darkfid3 darkfid4
+# clean log files
+rm /tmp/f_history.log  /tmp/lead_history.log &>/dev/null &
+touch /tmp/f_history.log
+touch /tmp/lead_history.log
+
+