search for: nut_pidpath

Displaying 1 result from an estimated 1 matches for "nut_pidpath".

2011 May 27
6
Environment Variables
...variable overrides this at run time. Default is /var/state/ups. ----------------------------------- So, the PID path does not have an env var override, but the state path does and it substitutes for the Alternate PID path as well. I'm thinking the PID path should also have an override, like NUT_PIDPATH. Maybe add a function in common.txt such as: /* Return the path for pid files */ const char * pidpath(void) { const char * path; if ((path = getenv("NUT_PIDPATH")) == NULL) path = PIDPATH; return path; } While using the NUT_STATEPATH, I noticed an error where in so...