Got automatic Bridgehead restart to work

Cherry picked from ehds2_develop branch
This commit is contained in:
DavidCroftDKFZ
2024-07-18 12:47:47 +02:00
parent 1b9af45991
commit 56cdd0dcc4
3 changed files with 19 additions and 11 deletions

View File

@ -5,10 +5,10 @@ Description=Start ECDC Bridgehead
Type=simple
ExecStart=/srv/docker/bridgehead/restart_service.sh
ExecStop=/srv/docker/bridgehead/shutdown_service.sh
Restart=on-failure
Restart=always
RestartSec=36000
KillMode=mixed
[Install]
WantedBy=multi.user.target
WantedBy=default.target