Forum

/etc/init.d/hiawatha

Aquanet
30 January 2013, 01:10
Hello,

We found a small issue in "/etc/init.d/hiawatha" file.

When hiawatha is not running, there is no "exit 3" condition. So it is impossible to read such status automatically by smth like Puppet.

This has to be changed in at least 2 places:

echo -e "${RED}Hiawatha is not running${NORMAL}"
exit 3

I guess it will be best to go through the whole file and check exit statuses, as maybe some more are missing.

Regards
Andrew
Hugo Leisink
30 January 2013, 07:56
I've made some changes to the init.d script. It will be available in the next release. Thanks for the feedback.
This topic has been closed.