Start zm_rtsp_server if ZM_MIN_RTSP_PORT is set
This commit is contained in:
parent
b70cd0bc76
commit
2a4723090b
|
@ -295,6 +295,9 @@ if ( $command =~ /^(?:start|restart)$/ ) {
|
||||||
} else {
|
} else {
|
||||||
runCommand('zmdc.pl start zmstats.pl');
|
runCommand('zmdc.pl start zmstats.pl');
|
||||||
}
|
}
|
||||||
|
if ( $Config{ZM_MIN_RTSP_PORT} ) {
|
||||||
|
runCommand('zmdc.pl start zm_rtsp_server');
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$retval = 1;
|
$retval = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue