summaryrefslogtreecommitdiffstats
path: root/pki/base/tks
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-02-03 18:42:02 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-02-03 18:42:02 +0000
commit4621eaf7f389989076d70244217530f1aa8bae5c (patch)
treed23f67fa36b6e8bbfc109667350c5205c611dc79 /pki/base/tks
parent9f679598437b6b0d0e596e377de300f0d75d26d6 (diff)
downloadpki-4621eaf7f389989076d70244217530f1aa8bae5c.tar.gz
pki-4621eaf7f389989076d70244217530f1aa8bae5c.tar.xz
pki-4621eaf7f389989076d70244217530f1aa8bae5c.zip
Bugzilla Bug #674917 - Restore identification of Tomcat-based PKI subsystem
instances git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1816 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/tks')
-rw-r--r--pki/base/tks/setup/registry_instance11
1 files changed, 10 insertions, 1 deletions
diff --git a/pki/base/tks/setup/registry_instance b/pki/base/tks/setup/registry_instance
index 7f0e592a1..3210b9131 100644
--- a/pki/base/tks/setup/registry_instance
+++ b/pki/base/tks/setup/registry_instance
@@ -41,9 +41,18 @@ export TOMCAT_GROUP
PKI_LOCKDIR="/var/lock/${PKI_FLAVOR}/${PKI_SUBSYSTEM_TYPE}"
export PKI_LOCKDIR
-PKI_LOCKFILE="${PKI_LOCKDIR}/${PKI_INSTANCE_ID}.pid"
+PKI_LOCKFILE="${PKI_LOCKDIR}/${PKI_INSTANCE_ID}"
export PKI_LOCKFILE
+PKI_PIDDIR="/var/run/${PKI_FLAVOR}/${PKI_SUBSYSTEM_TYPE}"
+export PKI_PIDDIR
+
+PKI_PIDFILE="${PKI_PIDDIR}/${PKI_INSTANCE_ID}.pid"
+export PKI_PIDFILE
+
+TOMCAT_LOCKFILE=/var/lock/subsys/${PKI_INSTANCE_ID}
+export TOMCAT_LOCKFILE
+
TOMCAT_PIDFILE=[TOMCAT_PIDFILE]
export TOMCAT_PIDFILE