bind: Drop alias handling unnecessary in >= Bullseye

Alias was added to deal with Buster -> Bullseye transition. In Buster the daemon
was named bind9 and in Bullseye the daemon is named named with alias to bind9.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2021-12-04 16:35:21 -05:00
1 parent 5b5249873d
commit 84ae338e66
3 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -39,14 +39,14 @@ def subcommand_setup(arguments):
Path(ZONES_DIR).mkdir(exist_ok=True, parents=True)
action_utils.service_restart('bind9')
action_utils.service_restart('named')
def subcommand_configure(arguments):
"""Configure BIND."""
set_forwarders(arguments.forwarders)
set_dnssec(arguments.dnssec)
action_utils.service_restart('bind9')
action_utils.service_restart('named')
def main():