--- doc/install/linux/install.pl 2019/10/30 03:42:05 1.59 +++ doc/install/linux/install.pl 2019/12/03 21:52:44 1.62 @@ -77,7 +77,7 @@ if (!open(LOG,">>loncapa_install.log")) &mt('Stopping execution.')."\n"; exit; } else { - print LOG '$Id: install.pl,v 1.59 2019/10/30 03:42:05 raeburn Exp $'."\n"; + print LOG '$Id: install.pl,v 1.62 2019/12/03 21:52:44 raeburn Exp $'."\n"; } # @@ -357,7 +357,7 @@ sub get_hostname { } # -# get_hostname() prompts the user to provide the server's IPv4 IP address +# get_hostip() prompts the user to provide the server's IPv4 IP address # # If invalid input is provided, the routine is called recursively # until, a valid IPv4 address is provided. @@ -734,6 +734,9 @@ sub chkconfig { if (($distro =~ /^ubuntu/) && ($version <= 8)) { $daemon{'cups'} = 'cupsys'; } + if (($distro =~ /^ubuntu/) && ($version >= 18)) { + $daemon{'ntp'} = 'chrony'; + } } elsif ($distro =~ /^fedora(\d+)/) { my $version = $1; if ($version >= 15) { @@ -2603,7 +2606,7 @@ sub copy_httpd_conf { ## ## The LON-CAPA mpm.conf enables the prefork MPM module in ## 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 ## by default. After ©_mpm_conf() is run, the prefork MPM ## module will be enabled instead of the event MPM module.