Skip to main content
Powered by Drupal, an open source content management system

User login

Navigation

/bin/sh reminder

October 31, 2009 by kinneh

Spent about 4hrs debugging a init.d script wondering why in **** /etc/init.d/jboss start exit:s with return code 1 and does nothing but "sh /etc/init.d/jboss start" works like a charm ...

wait for it ...

.
.
.
.
.

the script starts with "#!/bin/sh -e" the "-e" tells sh not to accept any commands to fail. witch is a good thing but it is really tricky if you forgot that you turned on "must not fail" .-)

Premium Drupal Themes by Adaptivethemes