Fixing $service_hasrestart on all distros