update init.d script behavior (#6)