mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
*: Drop use of managed_services, rely on Daemon component
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
ba4b58de78
commit
781d8fa18b
39 files changed
+123
-161
No files matched your search
@@ -23,8 +23,6 @@ from . import manifest
|
||||
|
||||
version = 2
|
||||
|
||||
managed_services = ['named']
|
||||
|
||||
_description = [
|
||||
_('BIND enables you to publish your Domain Name System (DNS) information '
|
||||
'on the Internet, and to resolve DNS queries for your user devices on '
|
||||
@@ -93,10 +91,8 @@ class BindApp(app_module.App):
|
||||
self.add(firewall)
|
||||
|
||||
daemon = Daemon(
|
||||
'daemon-bind', managed_services[0], listen_ports=[(53, 'tcp6'),
|
||||
(53, 'udp6'),
|
||||
(53, 'tcp4'),
|
||||
(53, 'udp4')])
|
||||
'daemon-bind', 'named', listen_ports=[(53, 'tcp6'), (53, 'udp6'),
|
||||
(53, 'tcp4'), (53, 'udp4')])
|
||||
self.add(daemon)
|
||||
|
||||
backup_restore = BackupRestore('backup-restore-bind',
|
||||
|
||||
Reference in new issue
Block a user