Start zm_rtsp_server if ZM_MIN_RTSP_PORT is set

This commit is contained in:
Isaac Connor 2021-03-01 13:34:26 -05:00
parent b70cd0bc76
commit 2a4723090b
1 changed files with 3 additions and 0 deletions

View File

@ -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;
} }