Remove support for old single zmfilter process mode which won't work anyways as it only happens when there are no Background Filters
parent
566ce16230
commit
bebd5d1b0e
|
@ -241,12 +241,8 @@ if ( $command =~ /^(?:start|restart)$/ ) {
|
||||||
} # end foreach monitor
|
} # end foreach monitor
|
||||||
|
|
||||||
my @filters = ZoneMinder::Filter->find(Background=>1);
|
my @filters = ZoneMinder::Filter->find(Background=>1);
|
||||||
if (@filters) {
|
foreach my $filter (@filters) {
|
||||||
foreach my $filter (@filters) {
|
runCommand("zmdc.pl start zmfilter.pl --filter_id=$$filter{Id} --daemon");
|
||||||
runCommand("zmdc.pl start zmfilter.pl --filter_id=$$filter{Id} --daemon");
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
runCommand('zmdc.pl start zmfilter.pl');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $Config{ZM_RUN_AUDIT} ) {
|
if ( $Config{ZM_RUN_AUDIT} ) {
|
||||||
|
|
Loading…
Reference in New Issue