-
Hi, We've had a long standing problem with DIRAC.rootPath pointing to the wrong directory on our server installs... We're using a classic non-pro style layout (closer to a modern developer install: We do this so we have git history to track upgrades/hotpaches/tweaks/etc.):
We'd ultimately like The default value of rootPath this has jumped around a few times for our layout over the last year or two:
Up until now we've just been hotpatching Is there some way we can get the rootPath detected correctly in our layout? At the very least perhaps we could consider adding a new environment variable called DIRACTOP [*] or something that's used instead of the detection logic if it's set? [*] I don't think there is any existing variable suitable for this, even $DIRAC seems to point at /opt/dirac/diracos on a py3 server instance. My initial suggestion was going to be DIRACROOT, but this is used elsewhere and I don't want to risk breaking anything. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I think you can achive this by setting
|
Beta Was this translation helpful? Give feedback.
-
Support for overriding this by setting the |
Beta Was this translation helpful? Give feedback.
Support for overriding this by setting the
DIRAC_ROOT_PATH
environment variable was added in #6011.