Files
AI_A4000/video_worker/scripts/restart_edge_device_local.sh

10 lines
202 B
Bash

#!/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