Added infrastructure for running ECDC-Bridgehead under systemctl

This comprises of the service file to be copied into the systemctl directory,
plus Bridgehead start and stop scripts for both systemctl and for the
administrator on the command line.
This commit is contained in:
Gerhard Salvini
2024-07-16 16:08:08 +02:00
parent 5b2c3d7725
commit 6887264a5b
5 changed files with 175 additions and 0 deletions

14
ecdc.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=Start ECDC Bridgehead
[Service]
Type=simple
ExecStart=/srv/docker/bridgehead/restart_service.sh
ExecStop=/srv/docker/bridgehead/shutdown_service.sh
Restart=on-failure
RestartSec=36000
KillMode=mixed
[Install]
WantedBy=multi.user.target