--- loncom/init.d/loncontrol 2003/12/08 18:59:30 1.14 +++ loncom/init.d/loncontrol 2003/12/18 21:23:01 1.15 @@ -48,7 +48,7 @@ sub stop_daemon { print("not running\n"); } -if (($command eq "restartold") or ($command eq "reloadold")) { +if (($command eq "restart") or ($command eq "reload")) { print 'Restarting LON-CAPA'."\n"; print 'Ending LON-CAPA client and daemon processes'."\n"; foreach my $daemon ('lonsql','lond','lonc','lonhttpd') { @@ -58,7 +58,7 @@ if (($command eq "restartold") or ($comm "\n"; system("su -c '/home/httpd/perl/loncron' www"); } -elsif (($command eq "restart") or ($command eq "reload")) { +elsif (($command eq "restartnew") or ($command eq "reloadnew")) { print 'Restarting LON-CAPA'."\n"; print 'Ending LON-CAPA client and daemon processes'."\n"; foreach my $daemon ('lonsql','lond','lonc','lonhttpd') { @@ -74,13 +74,13 @@ elsif ($command eq "stop") { &stop_daemon($daemon); } } -elsif ($command eq "startold") { +elsif ($command eq "start") { print 'Starting LON-CAPA'."\n"; print 'Starting LON-CAPA client and daemon processes (please be patient)'. "\n"; system("su -c '/home/httpd/perl/loncron' www"); } -elsif ($command eq "start") { +elsif ($command eq "startnew") { print 'Starting LON-CAPA'."\n"; print 'Starting LON-CAPA client and daemon processes (please be patient)'. "\n";