Init script fixes

This pr makes the init script stop complaining for now, although a refactor to use start-stop-daemon is probably necessary at some point.