This commit is contained in:
Your Name
2024-07-08 22:51:06 +02:00
parent 2f8530ea4f
commit b4018dafb5
15 changed files with 16 additions and 23543 deletions

16
mqtt_srv.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
case $1 in
"start")
mqtt_srv.py > /dev/null 2>&1 &
;;
stop)
kill -9 `ps -ef|grep -e "mqtt_srv.py"|grep -v grep|awk '{ print $1}'`
;;
restart)
$0 stop
$0 start
;;
status)
ps -ef|grep -e "mqtt_srv.py"|grep -v grep
;;
esac