add notice for settings that might require reconfiguration of specific services
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -337,6 +337,8 @@ class User
|
||||
if ($field == 'diskspace' && ($customer_arr[$field] / 1024) != '-1') {
|
||||
$arr[$used_field] += intval($customer_arr[$field]);
|
||||
} elseif ($field == 'traffic_used') {
|
||||
// no check for -1 here because we don't want the assigned traffic for admins/resellers but
|
||||
// the actually used (for stats reasons)
|
||||
$arr[$used_field] += intval($customer_arr[$field]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<command><![CDATA[chmod 0600 {{settings.system.apacheconf_diroptions}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.documentroot_prefix}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.logfiles_directory}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="notempty">{{settings.system.deactivateddocroot}}
|
||||
</visibility>
|
||||
@@ -4671,6 +4669,7 @@ aliases: files
|
||||
<command><![CDATA[useradd -s /bin/false -g {{settings.system.mod_fcgid_httpgroup}} {{settings.system.mod_fcgid_httpuser}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_configdir}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[a2dismod php7.2]]></command>
|
||||
</commands>
|
||||
<!-- instead of just restarting apache, we let the cronjob do all the
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<command><![CDATA[chmod 0600 {{settings.system.apacheconf_diroptions}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.documentroot_prefix}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.logfiles_directory}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="notempty">{{settings.system.deactivateddocroot}}
|
||||
</visibility>
|
||||
@@ -3311,6 +3309,7 @@ aliases: files
|
||||
<command><![CDATA[useradd -s /bin/false -g {{settings.system.mod_fcgid_httpgroup}} {{settings.system.mod_fcgid_httpuser}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_configdir}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[a2dismod php8.1]]></command>
|
||||
</commands>
|
||||
<!-- instead of just restarting apache, we let the cronjob do all the
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<command><![CDATA[chmod 0600 {{settings.system.apacheconf_diroptions}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.documentroot_prefix}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.logfiles_directory}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="notempty">{{settings.system.deactivateddocroot}}
|
||||
</visibility>
|
||||
@@ -4882,6 +4880,7 @@ aliases: files
|
||||
<command><![CDATA[useradd -s /bin/false -g {{settings.system.mod_fcgid_httpgroup}} {{settings.system.mod_fcgid_httpuser}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_configdir}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[a2dismod php7.4]]></command>
|
||||
</commands>
|
||||
<!-- instead of just restarting apache, we let the cronjob do all the
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<command><![CDATA[chmod 0600 {{settings.system.apacheconf_diroptions}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.documentroot_prefix}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.logfiles_directory}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="notempty">{{settings.system.deactivateddocroot}}
|
||||
</visibility>
|
||||
@@ -4873,6 +4871,7 @@ aliases: files
|
||||
<command><![CDATA[useradd -s /bin/false -g {{settings.system.mod_fcgid_httpgroup}} {{settings.system.mod_fcgid_httpuser}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_configdir}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[a2dismod php7.3]]></command>
|
||||
</commands>
|
||||
<!-- instead of just restarting apache, we let the cronjob do all the
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<command><![CDATA[chmod 0600 {{settings.system.apacheconf_diroptions}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.documentroot_prefix}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.logfiles_directory}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="notempty">{{settings.system.deactivateddocroot}}
|
||||
</visibility>
|
||||
@@ -4096,6 +4094,7 @@ aliases: files
|
||||
<command><![CDATA[useradd -s /bin/false -g {{settings.system.mod_fcgid_httpgroup}} {{settings.system.mod_fcgid_httpuser}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_configdir}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[a2dismod php7.4]]></command>
|
||||
</commands>
|
||||
<!-- instead of just restarting apache, we let the cronjob do all the
|
||||
|
||||
@@ -57,8 +57,6 @@
|
||||
<command><![CDATA[chmod 0600 {{settings.system.apacheconf_diroptions}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.documentroot_prefix}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.logfiles_directory}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="notempty">{{settings.system.deactivateddocroot}}
|
||||
</visibility>
|
||||
@@ -3876,6 +3874,7 @@ aliases: files
|
||||
<command><![CDATA[useradd -s /bin/false -g {{settings.system.mod_fcgid_httpgroup}} {{settings.system.mod_fcgid_httpuser}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_configdir}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="equals" value="apache2">{{settings.system.webserver}}
|
||||
</visibility>
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<command><![CDATA[chmod 0600 {{settings.system.apacheconf_diroptions}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.documentroot_prefix}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.logfiles_directory}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command>
|
||||
<visibility mode="notempty">{{settings.system.deactivateddocroot}}
|
||||
</visibility>
|
||||
@@ -4096,6 +4094,7 @@ aliases: files
|
||||
<command><![CDATA[useradd -s /bin/false -g {{settings.system.mod_fcgid_httpgroup}} {{settings.system.mod_fcgid_httpuser}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_configdir}}]]></command>
|
||||
<command><![CDATA[mkdir -p {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[chmod 1777 {{settings.system.mod_fcgid_tmpdir}}]]></command>
|
||||
<command><![CDATA[a2dismod php8.1]]></command>
|
||||
</commands>
|
||||
<!-- instead of just restarting apache, we let the cronjob do all the
|
||||
|
||||
Reference in New Issue
Block a user