diff --git a/install/install.py b/install/install.py index 96ad85cf6..0d2b69ab3 100644 --- a/install/install.py +++ b/install/install.py @@ -81,7 +81,7 @@ class preFlightsChecks: def get_service_name(self, service): """Get the correct service name for the current distribution""" service_map = { - 'pdns': 'pdns-server' if self.distro == debian12 else 'pdns' + 'pdns': 'pdns' } return service_map.get(service, service) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 30b53f27c..685a1baef 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -119,7 +119,7 @@ class InstallCyberPanel: service_map = { 'mariadb': 'mariadb', 'pureftpd': 'pure-ftpd-mysql' if self.distro == ubuntu else 'pure-ftpd', - 'pdns': 'pdns-server' if self.distro == debian12 else 'pdns' + 'pdns': 'pdns' } actual_service = service_map.get(service_name, service_name)