mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 02:34:52 +01:00
build
This commit is contained in:
@@ -11,10 +11,12 @@ then
|
||||
else
|
||||
python3 /jffs/scripts/mqtt_srv/mqtt_srv.py > /dev/null 2>&1 &
|
||||
fi
|
||||
cp /share/Data/nas_bash_history /root/.bash_history
|
||||
;;
|
||||
"stop")
|
||||
echo lala1 >> /tmp/mqtt_srv.log
|
||||
kill -9 `ps |grep -e "mqtt_srv.py"|grep -v grep|awk '{ print $1}'`
|
||||
cp /root/.bash_history /share/Data/nas_bash_history
|
||||
;;
|
||||
"restart")
|
||||
$0 stop
|
||||
|
||||
Reference in New Issue
Block a user