diff --git a/MQTT.py b/MQTT.py index 91f777c..13e953b 100644 --- a/MQTT.py +++ b/MQTT.py @@ -3,7 +3,7 @@ import time import paho.mqtt.client as mqtt -from tool import push_stream, close_stream, update, exec_sh, get_record, get_list_record, get_status +from src.tool import push_stream, close_stream, update, exec_sh, get_record, get_list_record, get_status import os diff --git a/__pycache__/api.cpython-310.pyc b/__pycache__/api.cpython-310.pyc deleted file mode 100644 index a01e94b..0000000 Binary files a/__pycache__/api.cpython-310.pyc and /dev/null differ diff --git a/__pycache__/api.cpython-311.pyc b/__pycache__/api.cpython-311.pyc deleted file mode 100644 index 067e1d3..0000000 Binary files a/__pycache__/api.cpython-311.pyc and /dev/null differ diff --git a/__pycache__/tool.cpython-311.pyc b/__pycache__/tool.cpython-311.pyc deleted file mode 100644 index d93acad..0000000 Binary files a/__pycache__/tool.cpython-311.pyc and /dev/null differ diff --git a/conf/common/data_upload.conf b/conf/common/data_upload.conf index e76b4fc..53ac12d 100644 --- a/conf/common/data_upload.conf +++ b/conf/common/data_upload.conf @@ -1,5 +1,5 @@ [program:data_upload] -directory=/home/pi/lot_manager +directory=/home/pi/lot_manager/src command=/usr/bin/python ceshi.py user=pi ;是否随开机自启 或者reload自启动 diff --git a/conf/common/record.conf b/conf/common/record.conf index cb672a0..a616a0f 100644 --- a/conf/common/record.conf +++ b/conf/common/record.conf @@ -1,5 +1,5 @@ [program:record] -directory=/home/pi/lot_manager +directory=/home/pi/lot_manager/src command=/usr/bin/bash record.sh user=pi ;是否随开机自启 或者reload自启动 diff --git a/conf/common/sensor_to_local.conf b/conf/common/sensor_to_local.conf index d82049a..924ae2c 100644 --- a/conf/common/sensor_to_local.conf +++ b/conf/common/sensor_to_local.conf @@ -1,5 +1,5 @@ [program:sensor_to_local] -directory=/home/pi/lot_manager +directory=/home/pi/lot_manager/src command=/usr/bin/python sensor_to_local.py user=pi ;是否随开机自启 或者reload自启动 diff --git a/conf/common/sensor_to_server.conf b/conf/common/sensor_to_server.conf index e633819..13bd38a 100644 --- a/conf/common/sensor_to_server.conf +++ b/conf/common/sensor_to_server.conf @@ -1,5 +1,5 @@ [program:sensor_to_server] -directory=/home/pi/lot_manager +directory=/home/pi/lot_manager/src command=/usr/bin/python sensor_to_server.py user=pi ;是否随开机自启 或者reload自启动 diff --git a/bash/git_push.sh b/git_push.sh similarity index 100% rename from bash/git_push.sh rename to git_push.sh