Skip to content

Commit

Permalink
Add restart always to start docker script
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Jessop authored and Mark Jessop committed Nov 16, 2024
1 parent 99e9c2a commit 21ea764
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ if [ "$SDR_TYPE" = "RTLSDR" ] ; then
-v ~/wenet/rx_images/:/opt/wenet/rx_images/ \
--device /dev/bus/usb \
-p $WEB_PORT:$WEB_PORT \
--restart="always" \
ghcr.io/projecthorus/wenet:latest
elif [ "$SDR_TYPE" = "KA9Q" ] ; then
docker run -d \
Expand All @@ -104,6 +105,7 @@ elif [ "$SDR_TYPE" = "KA9Q" ] ; then
-v /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket \
--device /dev/bus/usb \
--network host \
--restart="always" \
ghcr.io/projecthorus/wenet:latest

else
Expand Down

0 comments on commit 21ea764

Please sign in to comment.