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.
This commit is contained in:
DavidCroftDKFZ 2024-07-15 09:20:18 +02:00
parent 153f654397
commit cc228e20d9
1 changed files with 12 additions and 18 deletions

View File

@ -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: If this is an ECDC/EHDS2 installation, switch to the ```ehds2``` branch and copy the configuration file to the required location:
```shell ```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 cd /srv/docker/bridgehead
sudo git checkout ehds2 sudo git checkout ehds2
sudo mkdir -p /etc/bridgehead/ 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. 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: To stop:
```shell ```shell
cd /srv/docker/bridgehead cd /srv/docker/bridgehead
sudo ./bridgehead stop bbmri 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. For regular installations, read on.