naemon / naemon-core

Networks, Applications and Event Monitor
http://www.naemon.io/
GNU General Public License v2.0
153 stars 63 forks source link

daemon-init.in: Source "/etc/default/naemon" if exists #238

Closed wAmpIre closed 6 years ago

wAmpIre commented 6 years ago

Please add

if [ -e /etc/default/naemon ]; then
  . /etc/default/naemon
fi

to the init file (just before "NICELEVEL=0").

So someone (me) can set some variables (here: LANG and LC_ALL to work around some plugin threshold issues) for the process.

THX

sni commented 6 years ago

Could you create a pull request for that? Thanks.

sni commented 6 years ago

merged with #241