summaryrefslogtreecommitdiffstats
path: root/scripts/kra-stop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kra-stop.sh')
-rwxr-xr-xscripts/kra-stop.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/kra-stop.sh b/scripts/kra-stop.sh
index e876dc0..cfa0780 100755
--- a/scripts/kra-stop.sh
+++ b/scripts/kra-stop.sh
@@ -1,3 +1,5 @@
#!/bin/sh -x
-systemctl stop pki-tomcatd@kra-master.service
+INSTANCE_NAME=kra-master
+
+systemctl stop pki-tomcatd@$INSTANCE_NAME.service