Check to see if running services are also enabled (note, not all services will require to be enabled. Its just a rough guide to go by).
1 |
for i in $(systemctl list- units | awk '$4 ~ /running/ {print $1}' ); do systemctl list-unit-files | grep $i | awk '/disabled/' ; done |
1 |
firewall-cmd --runtime-to-permanent |