expose function to easily set service status