If this node just has a service server, then it should be able to use ros::spin().