summaryrefslogtreecommitdiffstats
path: root/scripts/tomcat-clone-stop.sh
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-07-20 08:13:41 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-07-20 08:13:41 +0200
commitfd5fe75b88810c3b42ae8c1daaefb821a33e6b94 (patch)
tree9a57851abeb82dd67f6d6a9c3e97d93e583615b1 /scripts/tomcat-clone-stop.sh
parentc3cbeaaa72e2234e86162bf6ccd56205f8b704fb (diff)
downloadpki-dev-fd5fe75b88810c3b42ae8c1daaefb821a33e6b94.zip
pki-dev-fd5fe75b88810c3b42ae8c1daaefb821a33e6b94.tar.gz
pki-dev-fd5fe75b88810c3b42ae8c1daaefb821a33e6b94.tar.xz
Added Tomcat scripts.
Diffstat (limited to 'scripts/tomcat-clone-stop.sh')
-rwxr-xr-xscripts/tomcat-clone-stop.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tomcat-clone-stop.sh b/scripts/tomcat-clone-stop.sh
new file mode 100755
index 0000000..26b1535
--- /dev/null
+++ b/scripts/tomcat-clone-stop.sh
@@ -0,0 +1,5 @@
+#!/bin/sh -x
+
+INSTANCE_NAME=pki-clone
+
+systemctl stop pki-tomcatd@$INSTANCE_NAME.service