From b351d8afce7769df7e57c13c88efc3b1346d031e Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Wed, 14 Nov 2018 18:40:06 +0100 Subject: #875: Removing old ogAdmRepo service. --- server/etc/logrotate.tmpl | 2 +- server/lib/security-config | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'server') diff --git a/server/etc/logrotate.tmpl b/server/etc/logrotate.tmpl index d487fcff..233efc57 100644 --- a/server/etc/logrotate.tmpl +++ b/server/etc/logrotate.tmpl @@ -3,7 +3,7 @@ # Las copias se comprimen # Los registros de las transferencias multicast se guardan una semana (repo). # El resto de los registros se comprueban diariamente que no excedan 100k. Se mantienen los últimos 5. -# Con esta condición de los servicios ogAdmServer y ogAdmRepo conservan datos de más de un mes. +# Con esta condición los servicios de OpenGnsys Server conservan datos de más de un mes. copytruncate compress 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 || \ -- cgit v1.2.3-18-g5258