Ok, I renamed $apache_service to $service_name.