Compare commits
No commits in common. "338c606bb125041abb8f96bc4f2503dc0cad2f94" and "571aa5dc3dc85091b3f652036b72f3a4b701e596" have entirely different histories.
338c606bb1
...
571aa5dc3d
3
mqtt_localhost
Executable file
3
mqtt_localhost
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
clear
|
||||||
|
/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py -f localhost -n
|
@ -12,5 +12,5 @@ for s in $(tmux list-sessions -F '#{session_name}'); do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
tmux attach-session -t mqtt_smarthome || tmux new-session -s mqtt_smarthome "~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home"
|
tmux attach-session -t mqtt_smarthome || tmux new-session -s mqtt_smarthome "/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/mqtt_sniffer/mqtt_sniffer.py $*
|
/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py $*
|
||||||
|
|
||||||
|
@ -12,5 +12,5 @@ for s in $(tmux list-sessions -F '#{session_name}'); do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
tmux attach-session -t mqtt_test_smarthome || tmux new-session -s mqtt_test_smarthome "~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home -p 1884 -n"
|
tmux attach-session -t mqtt_test_smarthome || tmux new-session -s mqtt_test_smarthome "/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home -p 1884 -n"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user