diff --git a/actions/repro b/actions/repro index 5c61eb75f..feddfacbf 100755 --- a/actions/repro +++ b/actions/repro @@ -58,6 +58,10 @@ def subcommand_setup(_): action_utils.service_restart('repro') action_utils.webserver_enable('repro-plinth') + # We have introduced new firewalld service files and wish to use + # them. + action_utils.service_reload('firewalld') + def main(): """Parse arguments and perform all duties.""" diff --git a/data/usr/lib/firewalld/services/rtp-plinth.xml b/data/usr/lib/firewalld/services/rtp-plinth.xml new file mode 100644 index 000000000..9f4d0e2e6 --- /dev/null +++ b/data/usr/lib/firewalld/services/rtp-plinth.xml @@ -0,0 +1,6 @@ + + + Real-time Transport Protocol + RTP is a protocol for delivering real-time data such as audio and video. Enable this if you run an internet telephony server using XMPP, SIP or H.323 and wish to enable audio and video communications. + + diff --git a/plinth/modules/repro/__init__.py b/plinth/modules/repro/__init__.py index b5a6c26b7..1677cff06 100644 --- a/plinth/modules/repro/__init__.py +++ b/plinth/modules/repro/__init__.py @@ -28,7 +28,7 @@ from plinth import frontpage from plinth import service as service_module from plinth.views import ServiceView -version = 1 +version = 2 depends = ['apps'] @@ -69,7 +69,7 @@ def init(): global service service = service_module.Service( - managed_services[0], title, ports=['sip', 'sips'], + managed_services[0], title, ports=['sip', 'sips', 'rtp-plinth'], is_external=True, enable=enable, disable=disable) if service.is_enabled():