添加service Life cycle