mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-01 09:50:44 +01:00
bug fix: pdns
This commit is contained in:
@@ -655,7 +655,7 @@ password="%s"
|
||||
command = 'chmod 640 /etc/pdns/pdns.conf'
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
else:
|
||||
command = 'chown root:powerdns /etc/powerdns/pdns.conf'
|
||||
command = 'chown root:pdns /etc/powerdns/pdns.conf'
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
command = 'chmod 640 /etc/powerdns/pdns.conf'
|
||||
|
||||
@@ -1577,7 +1577,7 @@ milter_default_action = accept
|
||||
command = 'chmod 640 /etc/pdns/pdns.conf'
|
||||
ProcessUtilities.executioner(command)
|
||||
else:
|
||||
command = 'chown root:powerdns /etc/powerdns/pdns.conf'
|
||||
command = 'chown root:pdns /etc/powerdns/pdns.conf'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'chmod 640 /etc/powerdns/pdns.conf'
|
||||
|
||||
@@ -2219,7 +2219,7 @@ echo $oConfig->Save() ? 'Done' : 'Error';
|
||||
command = 'chmod 640 /etc/pdns/pdns.conf'
|
||||
Upgrade.executioner(command, 0)
|
||||
else:
|
||||
command = 'chown root:powerdns /etc/powerdns/pdns.conf'
|
||||
command = 'chown root:pdns /etc/powerdns/pdns.conf'
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
command = 'chmod 640 /etc/powerdns/pdns.conf'
|
||||
|
||||
Reference in New Issue
Block a user