Bash init script updated with restart and debian support