From fd3a8ba2e63f5cc09220151af4ab1fd76329c146 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 29 Sep 2021 09:55:40 +0200
Subject: [PATCH] L2SS-391: Keep station control device up as much as possible

---
 docker-compose/device-station_control.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker-compose/device-station_control.yml b/docker-compose/device-station_control.yml
index 02cf41e26..d95e9ca49 100644
--- a/docker-compose/device-station_control.yml
+++ b/docker-compose/device-station_control.yml
@@ -38,4 +38,4 @@ services:
       # configure CORBA to _listen_ on 0:port, but tell others we're _reachable_ through ${HOSTNAME}:port, since CORBA
       # can't know about our Docker port forwarding
       - python3 -u ${TANGO_LOFAR_CONTAINER_DIR}/devices/devices/station_control.py LTS -v -ORBendPoint giop:tcp:0:5708 -ORBendPointPublish giop:tcp:${HOSTNAME}:5708
-    restart: on-failure
+    restart: unless-stopped
-- 
GitLab