mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
Enforce env var
This commit is contained in:
parent
52ca4a6e3d
commit
6c0f2c7e44
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user