Enforce env var

This commit is contained in:
Nicolas Mowen 2024-02-09 14:30:21 -07:00
parent 52ca4a6e3d
commit 6c0f2c7e44

View File

@ -647,6 +647,11 @@ class FrigateApp:
self.init_logger()
logger.info(f"Starting Frigate ({VERSION})")
if not os.environ.get('I_PROMISE_I_WONT_MAKE_AN_ISSUE_ON_GITHUB'):
logger.error("Frigate 0.14 UNSTABLE - not for public use at this time. Please use Frigate stable")
sys.exit(1)
try:
self.ensure_dirs()
try: