Do the initscript exec trick properly, so that a parent bash process is not left running.