Are the process config version files intended to be under
/var/sipxdata/process-cfgver or /var/sipxecs/process-cfgver? The code
is actually using the ones under /var/sipxdata/process-cfgver (i.e.
$VARDIR/process-cfgver) but the makefiles and rpm install create
/var/sipxecs/process-cfgver.
-bash-3.2$ git grep process-cfgver
sipXpbx/etc/init.d/sipxpbx.in:
[EMAIL PROTECTED]@/process-cfgver
sipXpbx/etc/init.d/sipxpbx.in: echo "${configServerVersion}" >
@SIPX_VARDIR@/process-cfgver/ConfigServer
sipXsupervisor/Makefile.am:
$(DESTDIR)$(localstatedir)/sipxecs/process-cfgver
sipXsupervisor/Makefile.am:$(DESTDIR)$(localstatedir)/sipxecs/process-cf
gver:
sipXsupervisor/Makefile.am: test -d
$(DESTDIR)$(localstatedir)/sipxecs/process-cfgver \
sipXsupervisor/Makefile.am: || $(INSTALL) -d
$(DESTDIR)$(localstatedir)/sipxecs/process-cfgver
sipXsupervisor/sipxsupervisor.spec.in:%dir
%attr(775,@SIPXPBXUSER@,@SIPXPBXGROUP@)
%{_localstatedir}/sipxecs/process-cfgver
sipXsupervisor/src/SipxProcess.cpp:const char*
SipxProcessConfigVersionDir = "process-cfgver";
sipXsupervisor/src/SipxProcess.cpp: OsPath
persistentConfigVersionDirPath // normally
{prefix}/var/sipxecs/process-cfgver
sipXsupervisor/src/test/SipxProcessVersionsTest.cpp:
testContext.inputFile("var/process-cfgver/Past");
"2008-11-11T15:03:11.966312Z":540:KERNEL:DEBUG:bcmdesk2041.ca.nortel.com
:pid-8867:00000000:Supervisor:"SipXecsService::Path('SIPX_VARDIR',
'process-cfgver') returning
'/home/cbeeton/commit/out/main/var/sipxdata/process-cfgver'"
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev