From cc228e20d98cf3005a25934ae407e26aa2ac8733 Mon Sep 17 00:00:00 2001 From: DavidCroftDKFZ <46788708+DavidCroftDKFZ@users.noreply.github.com> Date: Mon, 15 Jul 2024 09:20:18 +0200 Subject: [PATCH] Reordered the Bridgehead restart instructions Ordered them so that first a stop is performed, then a start. This reflects what administrators will be doing in real life. Also included a git pull for the Bridgehead, since this will normally also be part of the regular administrative tasks. Also removed a bunch of instructions for the installation, since these steps are now performed automatically by the bridgehead script. --- README.md | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 3ab8214..1cb474f 100644 --- a/README.md +++ b/README.md @@ -171,17 +171,6 @@ sudo git clone https://github.com/samply/bridgehead.git /srv/docker/bridgehead If this is an ECDC/EHDS2 installation, switch to the ```ehds2``` branch and copy the configuration file to the required location: ```shell -sudo mkdir -p /srv/docker/ecdc/data -cd /srv/docker -git clone https://github.com/samply/transFAIR.git -cd /srv/docker/transFAIR -sudo git checkout ehds2 -docker build -t samply/transfair --no-cache . -cd /srv/docker -git clone https://github.com/samply/focus.git -cd /srv/docker/focus -sudo git checkout ehds2 -docker build -t samply/focus --no-cache . cd /srv/docker/bridgehead sudo git checkout ehds2 sudo mkdir -p /etc/bridgehead/ @@ -246,19 +235,24 @@ pki-scripts/managepki list For an ECDC/EHDS2 installation, you need to start and stop the Bridgehead manually. -To start: - -```shell -cd /srv/docker/bridgehead -sudo nohup ./bridgehead start bbmri >& ~/bridgehead.log & -``` - To stop: ```shell cd /srv/docker/bridgehead sudo ./bridgehead stop bbmri ``` +To get the most up-to-date Bridgehead: + +```shell +sudo git pull +``` + +To start: + +```shell +cd /srv/docker/bridgehead +sudo nohup ./bridgehead start bbmri >& ~/bridgehead.log & +``` For regular installations, read on.