regist service to rc.d