Make init script work for users with no tty - such as puppet trying to start it