@cryptotaxi247 / netdata-1 / commits / 39cf80338

use nc -l -p PORT for compatibility

Costa Tsaousis (ktsaou) committed Jun 17, 2017 at 14:32 UTC 39cf80338c550a66079c48b4133b7dcbd34458ec
1 file changed +1 -1
contrib/nc-backend.sh
+1 -1
@@ -30,7 +30,7 @@ listen_save_replay_forever() {
30 log "Starting nc to listen on port ${port} and save metrics to ${file}"
31
32 started=$(date +%s)
33 - mync -l "${port}" | tee -a -p --output-error=exit "${file}"
33 + mync -l -p "${port}" | tee -a -p --output-error=exit "${file}"
34 ended=$(date +%s)
35
36 if [ -s "${file}" ]