summaryrefslogtreecommitdiffstats
path: root/base/ocsp/setup/registry_instance
blob: c97b0c736ccb501c11b1ef0e53d06f3da41723f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Establish PKI Variable "Slot" Substitutions

PKI_SUBSYSTEM_TYPE=[PKI_SUBSYSTEM_TYPE]
export PKI_SUBSYSTEM_TYPE

PKI_USER=[PKI_USER]
export PKI_USER

PKI_GROUP=[PKI_GROUP]
export PKI_GROUP

PKI_INSTANCE_ID=[PKI_INSTANCE_ID]
export PKI_INSTANCE_ID

PKI_INSTANCE_PATH=[PKI_INSTANCE_PATH]
export PKI_INSTANCE_PATH

PKI_INSTANCE_INITSCRIPT=[PKI_INSTANCE_INITSCRIPT]
export PKI_INSTANCE_INITSCRIPT

PKI_SERVER_XML_CONF=[PKI_SERVER_XML_CONF]
export PKI_SERVER_XML_CONF

# Use CATALINA_BASE

CATALINA_BASE=$PKI_INSTANCE_PATH
export CATALINA_BASE

TOMCAT_PROG=$PKI_INSTANCE_ID
export TOMCAT_PROG

TOMCAT_USER=$PKI_USER
export TOMCAT_USER

TOMCAT_GROUP=$PKI_GROUP
export TOMCAT_GROUP

PKI_LOCKDIR="/var/lock/pki/${PKI_SUBSYSTEM_TYPE}"
export PKI_LOCKDIR

PKI_LOCKFILE="${PKI_LOCKDIR}/${PKI_INSTANCE_ID}"
export PKI_LOCKFILE

PKI_PIDDIR="/var/run/pki/${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

pki_instance_configuration_file=${PKI_INSTANCE_PATH}/conf/CS.cfg
export pki_instance_configuration_file

RESTART_SERVER=${PKI_INSTANCE_PATH}/conf/restart_server_after_configuration
export RESTART_SERVER