- fix: Shopping Cart Not Working
- fix: Editing Products Template wipes out SKU - fix: Email to RFE List Going to Spam - fix: 7.0.0-7.0.1 upgrade -- op called w/o passing session - fix: spectre.pl daemon error - Changed the Spectre tests to be a seperate option on the spectre.pl command line, which fixed a problem with the WRE monitor, and also enabled us to add more complete connectivity testing.
This commit is contained in:
parent
f83c0fa957
commit
f420103b2e
7 changed files with 40 additions and 23 deletions
|
|
@ -23,6 +23,7 @@ my $ping;
|
|||
my $daemon;
|
||||
my $run;
|
||||
my $debug;
|
||||
my $test;
|
||||
|
||||
GetOptions(
|
||||
'help'=>\$help,
|
||||
|
|
@ -30,10 +31,11 @@ GetOptions(
|
|||
'shutdown'=>\$shutdown,
|
||||
'daemon'=>\$daemon,
|
||||
'debug' =>\$debug,
|
||||
'run' => \$run
|
||||
'run' => \$run,
|
||||
'test' => \$test
|
||||
);
|
||||
|
||||
if ($help || !($ping||$shutdown||$daemon||$run)) {
|
||||
if ($help || !($ping||$shutdown||$daemon||$run||$test)) {
|
||||
print <<STOP;
|
||||
|
||||
S.P.E.C.T.R.E. is the Supervisor of Perplexing Event-handling Contraptions for
|
||||
|
|
@ -57,6 +59,9 @@ if ($help || !($ping||$shutdown||$daemon||$run)) {
|
|||
|
||||
--shutdown Stops the running Spectre server.
|
||||
|
||||
--test Tests the connection between Spectre and WebGUI. Both Spectre
|
||||
and WebGUI must be running to use this function.
|
||||
|
||||
STOP
|
||||
exit;
|
||||
}
|
||||
|
|
@ -90,6 +95,8 @@ if ($shutdown) {
|
|||
my $res = ping();
|
||||
print "Spectre is Alive!\n" unless $res;
|
||||
print "Spectre is not responding.\n".$res if $res;
|
||||
} elsif ($test) {
|
||||
Spectre::Admin->runTests($config);
|
||||
} elsif ($run) {
|
||||
Spectre::Admin->new($config, $debug);
|
||||
} elsif ($daemon) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue