blob: 7f0e592a15894f9c5188ea16b0e32a8a854e34f0 (
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
|
# Establish PKI Variable "Slot" Substitutions
PKI_FLAVOR=[PKI_FLAVOR]
export PKI_FLAVOR
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_FLAVOR}/${PKI_SUBSYSTEM_TYPE}"
export PKI_LOCKDIR
PKI_LOCKFILE="${PKI_LOCKDIR}/${PKI_INSTANCE_ID}.pid"
export PKI_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
|