version 1.59, 2019/10/30 03:42:05
|
version 1.61, 2019/12/03 04:55:08
|
Line 734 sub chkconfig {
|
Line 734 sub chkconfig {
|
if (($distro =~ /^ubuntu/) && ($version <= 8)) { |
if (($distro =~ /^ubuntu/) && ($version <= 8)) { |
$daemon{'cups'} = 'cupsys'; |
$daemon{'cups'} = 'cupsys'; |
} |
} |
|
if (($distro =~ /^ubuntu/) && ($version >= 18)) { |
|
$daemon{'ntp'} = 'chrony'; |
|
} |
} elsif ($distro =~ /^fedora(\d+)/) { |
} elsif ($distro =~ /^fedora(\d+)/) { |
my $version = $1; |
my $version = $1; |
if ($version >= 15) { |
if ($version >= 15) { |
Line 2603 sub copy_httpd_conf {
|
Line 2606 sub copy_httpd_conf {
|
## |
## |
## The LON-CAPA mpm.conf enables the prefork MPM module in |
## The LON-CAPA mpm.conf enables the prefork MPM module in |
## Apache. This is also the default for RHEL/CentOS/Oracle |
## Apache. This is also the default for RHEL/CentOS/Oracle |
## Linux 7and earlier, and Fedora 26 and earlier. For more |
## Linux 7 and earlier, and Fedora 26 and earlier. For more |
## recent versions of those distros, the event MPM is enabled |
## recent versions of those distros, the event MPM is enabled |
## by default. After ©_mpm_conf() is run, the prefork MPM |
## by default. After ©_mpm_conf() is run, the prefork MPM |
## module will be enabled instead of the event MPM module. |
## module will be enabled instead of the event MPM module. |