This commit is contained in:
xyj 2023-12-16 10:35:41 +08:00
parent 03d23be182
commit 768854fcd4
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash #!/bin/bash
# 这里千万不要使用set -e # 这里千万不要使用set -e
sleep 5 sleep 5
supervisorctl stop sensor_to_local
sleep 5
supervisorctl start sensor_to_server supervisorctl start sensor_to_server
sleep 5
supervisorctl stop sensor_to_local