Try using ~ for $service_rc path