mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Enforce env var
This commit is contained in:
parent
52ca4a6e3d
commit
6c0f2c7e44
@ -647,6 +647,11 @@ class FrigateApp:
|
|||||||
|
|
||||||
self.init_logger()
|
self.init_logger()
|
||||||
logger.info(f"Starting Frigate ({VERSION})")
|
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:
|
try:
|
||||||
self.ensure_dirs()
|
self.ensure_dirs()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user