mej / nhc

LBNL Node Health Check
Other
213 stars 78 forks source link

Change default CONFDIR etc #106

Open zhum opened 2 years ago

zhum commented 2 years ago

If nhc was configured with options like --prefix=/opt/nhc, then default CONFDIR, INCDIR and so on would still point to /etc/nhc. It is acceptable for some cases, but often /etc is not on network filesystem, so node does not contain nhc configs and scripts.

Yes, -D option allows to fix it, but it is too ugly to use it every time (and -c with full path to config). I request the configure option to set all appropriate internal paths to be relative of specified prefix.