diff --git a/rpmbuild/SPECS/omc.spec b/rpmbuild/SPECS/omc.spec index e5b3309..fa7abdf 100644 --- a/rpmbuild/SPECS/omc.spec +++ b/rpmbuild/SPECS/omc.spec @@ -136,6 +136,7 @@ PortList="80 33030 443 33443 22222" for Port in ${PortList}; do firewall-cmd --zone=public --add-port=${Port}/tcp --permanent done +firewall-cmd --reload systemctl daemon-reload systemctl enable restagent.service