From 2a4723090b5331e7da344e4051fb00efb175860c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 1 Mar 2021 13:34:26 -0500 Subject: [PATCH] Start zm_rtsp_server if ZM_MIN_RTSP_PORT is set --- scripts/zmpkg.pl.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/zmpkg.pl.in b/scripts/zmpkg.pl.in index b1647a26f..bca93c1b3 100644 --- a/scripts/zmpkg.pl.in +++ b/scripts/zmpkg.pl.in @@ -295,6 +295,9 @@ if ( $command =~ /^(?:start|restart)$/ ) { } else { runCommand('zmdc.pl start zmstats.pl'); } + if ( $Config{ZM_MIN_RTSP_PORT} ) { + runCommand('zmdc.pl start zm_rtsp_server'); + } } else { $retval = 1; }