Lars I dont know the specifics of what went into various bits there but thanks for being careful/discussing it - need folks like mark payne and yolanda davis and others who wrote some of those bits to comment. I say this because these scripts/start routines are super heavily used for deployment processes that I know a lot of users depend on.
Thanks On Fri, Aug 24, 2018 at 9:58 AM Lars Francke <lars.fran...@gmail.com> wrote: > > Hi, > > I'm trying to use the environment variables NIFI_PID_DIR and NIFI_LOG_DIR > to change those directories. > > Unfortunately nifi-env.sh is being called by nifi.sh which overrides them > without any way to override them. > > To make it even more confusing the path for NIFI_PID_DIR is different than > the default which is hardcoded in RunNifi. > > I'm trying to figure out if I'm missing anything obvious. > > Otherwise I'd suggest changing nifi-env.sh to only set those variables when > they have not already been set to another value. Does that make sense? > > Thank you, > Lars