From 8b4756031924b82b2083ef60aea0f8b91e55050d Mon Sep 17 00:00:00 2001
From: Vitor Trovisco <vmt25@cam.ac.uk>
Date: Wed, 3 Aug 2022 09:17:12 +0000
Subject: [PATCH] Update canto-test-docker-initd

---
 canto-test-docker-initd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/canto-test-docker-initd b/canto-test-docker-initd
index 65dafc5..611757c 100644
--- a/canto-test-docker-initd
+++ b/canto-test-docker-initd
@@ -22,12 +22,12 @@ case "$action" in
   stop)
     pid=`/bin/cat $CANTO_SPACE/$PID_PATH`
     echo stopping $pid
-    (cd $CANTO_SPACE; docker exec canto kill -TERM $pid)
+    (cd $CANTO_SPACE; docker exec canto-test kill -TERM $pid)
     ;;
   restart)
     pid=`/bin/cat $CANTO_SPACE/$PID_PATH`
     echo restarting $pid
-    (cd $CANTO_SPACE; docker exec canto kill -HUP $pid)
+    (cd $CANTO_SPACE; docker exec canto-test kill -HUP $pid)
     ;;
   *)
     echo "Usage: $0 {start|restart|stop}"
-- 
GitLab