update init.d script behavior (#9)