declare runit_service before declaring a resource that notifies it