93 |
+done |
+done |
94 |
+ |
+ |
95 |
+# restart the needed services |
+# restart the needed services |
96 |
+if [ $found > 0 ] ; then |
+if [ $found -gt 0 ] ; then |
97 |
+ /usr/bin/systemctl daemon-reload > /dev/null 2>/dev/null |
+ /usr/bin/systemctl daemon-reload > /dev/null 2>/dev/null |
98 |
+ /usr/bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null |
+ /usr/bin/systemctl reload httpd-*.service > /dev/null 2>/dev/null |
99 |
+ /usr/bin/systemctl restart rsyslog.service > /dev/null 2>/dev/null |
+ /usr/bin/systemctl restart rsyslog.service > /dev/null 2>/dev/null |
100 |
+fi |
+fi |
101 |
+ |
+ |