diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-12-06 13:06:14 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-12-06 21:23:11 -0500 |
commit | 9996d71e1a4fb7a8ca6752b83e4f2393dbefa76b (patch) | |
tree | 449a55d01c5092a59192e0dffd28bbeb1c6e17f9 /base/setup/scripts | |
parent | 883e0ec158eec04547da6856dbdaef0a8f640cb0 (diff) | |
download | pki-9996d71e1a4fb7a8ca6752b83e4f2393dbefa76b.tar.gz pki-9996d71e1a4fb7a8ca6752b83e4f2393dbefa76b.tar.xz pki-9996d71e1a4fb7a8ca6752b83e4f2393dbefa76b.zip |
Parameterizing RESTEasy paths.
The paths to RESTEasy jar files have been modified such that it can
be configured globally at build time using the spec file to support
different distributions, and at deployment time using a system-wide
configuration in /etc/pki/pki.conf.
Ticket #422, #423.
Diffstat (limited to 'base/setup/scripts')
-rw-r--r-- | base/setup/scripts/functions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/setup/scripts/functions b/base/setup/scripts/functions index 058022efc..3f7f9553d 100644 --- a/base/setup/scripts/functions +++ b/base/setup/scripts/functions @@ -30,6 +30,10 @@ # 200-254 reserved # +if [ -f /etc/pki/pki.conf ] ; then + . /etc/pki/pki.conf +fi + # PKI subsystem-level directory and file values for locks lockfile="/var/lock/subsys/${SERVICE_NAME}" @@ -980,7 +984,7 @@ verify_symlinks() [xml-commons-apis.jar]=/usr/share/java/xml-commons-apis.jar [xml-commons-resolver.jar]=/usr/share/java/xml-commons-resolver.jar # dogtag 9 -> dogtag 10 - [resteasy-jaxrs.jar]=/usr/share/java/resteasy/resteasy-jaxrs.jar) + [resteasy-jaxrs.jar]=${RESTEASY_LIB}/resteasy-jaxrs.jar) if [ "${PKI_SUBSYSTEM_TYPE}" == "tks" ]; then webapps_jar_symlinks[symkey.jar]=${jni_dir}/symkey.jar |