summaryrefslogtreecommitdiffstats
path: root/server/lib
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2018-11-14 18:40:06 +0100
committerRamón M. Gómez <ramongomez@us.es>2018-11-14 18:40:06 +0100
commitb351d8afce7769df7e57c13c88efc3b1346d031e (patch)
tree39bb18d7f7d2033881efc2214a694595dd7ea575 /server/lib
parent348b5c973a033baec95cb0bd460594ab117ad5ce (diff)
#875: Removing old ogAdmRepo service.
Diffstat (limited to 'server/lib')
-rwxr-xr-xserver/lib/security-config5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/lib/security-config b/server/lib/security-config
index eb8bf5cf..ddba161f 100755
--- a/server/lib/security-config
+++ b/server/lib/security-config
@@ -42,16 +42,11 @@ s=ios.Service()
s.short = 'OpenGnsys Server'
s.name = 'ogAdmServer'
s.ports = [('2008', 'tcp')]
-ios.service_writer(s, '/etc/firewalld/services')
-s.short = 'OpenGnsys Repository'
-s.name = 'ogAdmRepo'
-s.ports = [('2002', 'tcp')]
ios.service_writer(s, '/etc/firewalld/services')"
# Adding active services.
firewall-cmd --permanent --add-service=dhcp
firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-service=mysql --zone internal
- firewall-cmd --permanent --add-service=ogAdmRepo
firewall-cmd --permanent --add-service=ogAdmServer
# Ubuntu 14.04 does not define "rsyncd" service.
firewall-cmd --permanent --add-service=rsyncd || \