Created attachment 667263 [details] Patch for %_restart_check_systemctl using macro argument Proposal using a macro argument. %_stop_check_systemctl can be handled likewise. It's ugly but generates only the script code we need.