update init.d script behavior (#10)