From 7eb27cd01923db3a1ff604ad4825945b6e601a97 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 31 May 2021 17:54:29 +0100 Subject: [PATCH] Add dowbnload of update script to install script --- docker-configs/docker_install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-configs/docker_install.sh b/docker-configs/docker_install.sh index 26f18c1..e3413f5 100755 --- a/docker-configs/docker_install.sh +++ b/docker-configs/docker_install.sh @@ -155,10 +155,14 @@ echo Run FreeDMR container... docker run --name=freedmr -d --read-only -v /etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg \ -v /var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log \ -v /etc/freedmr/rules.py:/opt/freedmr/rules.py -p 62031:62031/udp -p 62036-62046:62036-62046/udp \ --p 4321:4321/tcp hacknix/freedmr:latest +-p 4321:4321/tcp hacknix/freedmr:latest && echo Set to restart on boot and when it dies... -docker update --restart unless-stopped freedmr +docker update --restart unless-stopped freedmr && + +echo Download update script for future use... +curl https://raw.githubusercontent.com/hacknix/FreeDMR/master/docker-configs/update_freedmr.sh -o update_freedmr.sh && +chmod 700 ./update_freedmr.sh echo FreeDMR setup complete!