fix:优化wsl环境下的边缘设备执行逻辑
This commit is contained in:
9
video_worker/scripts/restart_edge_device_local.sh
Normal file
9
video_worker/scripts/restart_edge_device_local.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$ROOT_DIR"
|
||||
|
||||
bash scripts/stop_edge_device_local.sh
|
||||
sleep 1
|
||||
bash scripts/start_edge_device_local.sh
|
||||
Reference in New Issue
Block a user