converted init.d to service cmd