diff options
author | Ade Lee <alee@redhat.com> | 2012-08-17 12:37:29 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-08-17 13:29:51 -0400 |
commit | 6028b01f64305eda7540cf96bde658d4ebbec2ed (patch) | |
tree | 613d70489e9e270183510f12730983b17fc161a2 /base/common | |
parent | 2f746e5ac050672dd53f839a0ae149edd1a5688d (diff) | |
download | pki-6028b01f64305eda7540cf96bde658d4ebbec2ed.tar.gz pki-6028b01f64305eda7540cf96bde658d4ebbec2ed.tar.xz pki-6028b01f64305eda7540cf96bde658d4ebbec2ed.zip |
Added default for pidDir for dogtag 9 instances
Diffstat (limited to 'base/common')
-rw-r--r-- | base/common/src/com/netscape/cmscore/apps/CMSEngine.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/common/src/com/netscape/cmscore/apps/CMSEngine.java b/base/common/src/com/netscape/cmscore/apps/CMSEngine.java index 8020a6562..e5eac3b93 100644 --- a/base/common/src/com/netscape/cmscore/apps/CMSEngine.java +++ b/base/common/src/com/netscape/cmscore/apps/CMSEngine.java @@ -1722,7 +1722,8 @@ public class CMSEngine implements ICMSEngine { BufferedReader bf = null; try { // PID file is be created by wrapper script (e.g. /usr/sbin/tomcat6) - String dir = mConfig.getString("pidDir"); + // The default is for dogtag 9 systems which did not have this paramater + String dir = mConfig.getString("pidDir", "/var/run"); String name = dir+File.separator+instanceId+".pid"; if (dir == null) return pid; |