Refactor debian initscript, fixing restart. fixes #7