This commit is contained in:
xyj 2023-12-05 16:49:11 +08:00
parent adc497629b
commit 2176473b76
2 changed files with 8 additions and 0 deletions

4
start_data_upload.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
set -e
supervisorctl stop sensor_to_local
supervisorctl start sensor_to_server

4
stop_data_upload.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
set -e
supervisorctl stop sensor_to_server
supervisorctl start sensor_to_local