Only deploy snapshot artifact if version is not newer
Small fixes to init.d script