Hi, I'd like to have pdnsd-online iniscript enhanced so that I can reload pdnsd's configfile when I changed something inside that file. Currently I have to invoke "pdnsd-ctlconfig /etc/pdnsd/pdnsd.conf" which could also be done by the initscript via "/etc/init.d/pdnsd-online reload". I'll attach two diff to show you what I mean. Cheers Poly-C Reproducible: Always Steps to Reproduce:
Created attachment 124438 [details, diff] pdnsd.online.diff diff for the pdnsd-online initscript.
Created attachment 124440 [details, diff] pdnsd-1.2.5.ebuild.diff This diff only adds some more lines which get echo-ed into /etc/conf.d/pdnsd-online file. I added PDNSD_CONFIG variable which can be used when pdnsd.conf is not in /etc/pdnsd/
Fixed in 1.2.5-r1 but without making config file configurable through conf.d file (I don't see why should do this). Besides, you forgot to make necessary changes in start() for making pdnsd start with the user selected PDNSD_CONFIG file instead the default one.