mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 07:16:15 +01:00
bug fix: pdns
This commit is contained in:
@@ -1576,6 +1576,12 @@ milter_default_action = accept
|
|||||||
|
|
||||||
command = 'chmod 640 /etc/pdns/pdns.conf'
|
command = 'chmod 640 /etc/pdns/pdns.conf'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
else:
|
||||||
|
command = 'chown root:pdns /etc/powerdns/pdns.conf'
|
||||||
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
|
command = 'chmod 640 /etc/powerdns/pdns.conf'
|
||||||
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
command = 'chmod 640 /usr/local/lscp/cyberpanel/logs/access.log'
|
command = 'chmod 640 /usr/local/lscp/cyberpanel/logs/access.log'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|||||||
@@ -2218,6 +2218,12 @@ echo $oConfig->Save() ? 'Done' : 'Error';
|
|||||||
|
|
||||||
command = 'chmod 640 /etc/pdns/pdns.conf'
|
command = 'chmod 640 /etc/pdns/pdns.conf'
|
||||||
Upgrade.executioner(command, 0)
|
Upgrade.executioner(command, 0)
|
||||||
|
else:
|
||||||
|
command = 'chown root:pdns /etc/powerdns/pdns.conf'
|
||||||
|
Upgrade.executioner(command, 0)
|
||||||
|
|
||||||
|
command = 'chmod 640 /etc/powerdns/pdns.conf'
|
||||||
|
Upgrade.executioner(command, 0)
|
||||||
|
|
||||||
command = 'chmod 640 /usr/local/lscp/cyberpanel/logs/access.log'
|
command = 'chmod 640 /usr/local/lscp/cyberpanel/logs/access.log'
|
||||||
Upgrade.executioner(command, 0)
|
Upgrade.executioner(command, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user