diff --git a/src/MQTT.py b/MQTT.py similarity index 100% rename from src/MQTT.py rename to MQTT.py diff --git a/conf/common/mqtt.conf b/conf/common/mqtt.conf index 6a58f45..69e9350 100644 --- a/conf/common/mqtt.conf +++ b/conf/common/mqtt.conf @@ -1,5 +1,5 @@ [program:__mqtt__] -directory=/home/pi/lot_manager/src +directory=/home/pi/lot_manager command=/usr/bin/python MQTT.py user=pi ;是否随开机自启 或者reload自启动