15 lines
299 B
Plaintext
15 lines
299 B
Plaintext
|
#!/usr/bin/perl
|
||
|
|
||
|
require './geohelm-lib.pl'; #require
|
||
|
&ReadParse();
|
||
|
&error_setup($text{'stop_err'});
|
||
|
my ($rc, $err) = tomcat_service_ctl('stop');
|
||
|
if ($rc != 0){
|
||
|
&ui_print_header(undef, $text{'index_title'}, "");
|
||
|
&error($err);
|
||
|
&ui_print_footer("", $text{'index_return'});
|
||
|
exit;
|
||
|
}
|
||
|
&redirect("");
|
||
|
|