mqtt_* reworked due to new location
This commit is contained in:
parent
2b76f4719a
commit
29ac8e9b96
@ -1,3 +0,0 @@
|
|||||||
#!/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 "/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home"
|
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"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py $*
|
~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/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 "/opt/mqtt_sniffer/venv/bin/python /opt/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 "~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home -p 1884 -n"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user