fix: restart firewalld only when it was running
in !187 (merged) we enable the firewalld.service and also restart it. But we don't have to restart if it was not enable and running since we only change firewall rule when it was enable and running
Gitlab has been upgraded from 18.2.8 to 18.9.5. See the following release notes:
Gitlab 18.3 Gitlab 18.4 Gitlab 18.5 Gitlab 18.6 Gitlab 18.7 Gitlab 18.8 Gitlab 18.9in !187 (merged) we enable the firewalld.service and also restart it. But we don't have to restart if it was not enable and running since we only change firewall rule when it was enable and running