Add init scripts to rpm and deb

Fixes #2018