version 1.13, 2003/11/06 15:05:23
|
version 1.14, 2003/12/08 18:59:30
|
Line 74 elsif ($command eq "stop") {
|
Line 74 elsif ($command eq "stop") {
|
&stop_daemon($daemon); |
&stop_daemon($daemon); |
} |
} |
} |
} |
elsif ($command eq "start") { |
elsif ($command eq "startold") { |
print 'Starting LON-CAPA'."\n"; |
print 'Starting LON-CAPA'."\n"; |
print 'Starting LON-CAPA client and daemon processes (please be patient)'. |
print 'Starting LON-CAPA client and daemon processes (please be patient)'. |
"\n"; |
"\n"; |
system("su -c '/home/httpd/perl/loncron' www"); |
system("su -c '/home/httpd/perl/loncron' www"); |
} |
} |
elsif ($command eq "startnew") { |
elsif ($command eq "start") { |
print 'Starting LON-CAPA'."\n"; |
print 'Starting LON-CAPA'."\n"; |
print 'Starting LON-CAPA client and daemon processes (please be patient)'. |
print 'Starting LON-CAPA client and daemon processes (please be patient)'. |
"\n"; |
"\n"; |