version 1.37, 2009/06/10 23:51:46
|
version 1.38, 2009/07/06 00:07:15
|
Line 119 if ($command eq "restart") {
|
Line 119 if ($command eq "restart") {
|
system("su www -c '/home/httpd/perl/loncron --justcheckdaemons'"); |
system("su www -c '/home/httpd/perl/loncron --justcheckdaemons'"); |
} elsif (($command eq "stop") || ($command eq 'start') || ($command eq 'status')) { |
} elsif (($command eq "stop") || ($command eq 'start') || ($command eq 'status')) { |
my $iptables = &LONCAPA::Firewall::get_pathto_iptables(); |
my $iptables = &LONCAPA::Firewall::get_pathto_iptables(); |
my $fw_chain = &LONCAPA::Firewall::get_fw_chain(); |
my $fw_chain = &LONCAPA::Firewall::get_fw_chain($iptables); |
my $lond_port = &LONCAPA::Firewall::get_lond_port(); |
my $lond_port = &LONCAPA::Firewall::get_lond_port(); |
my %iphost = &Apache::lonnet::get_iphost(); |
my %iphost = &Apache::lonnet::get_iphost(); |
if ($command eq 'stop') { |
if ($command eq 'stop') { |