mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Add TAUTULLI_SNAP environment variable
This commit is contained in:
parent
0dddc4d58f
commit
da3bc127dc
2 changed files with 5 additions and 0 deletions
|
@ -124,6 +124,8 @@ def main():
|
|||
|
||||
if helpers.bool_true(os.getenv('TAUTULLI_DOCKER', False)):
|
||||
plexpy.DOCKER = True
|
||||
if helpers.bool_true(os.getenv('TAUTULLI_SNAP', False)):
|
||||
plexpy.SNAP = True
|
||||
|
||||
if args.dev:
|
||||
plexpy.DEV = True
|
||||
|
|
|
@ -98,6 +98,7 @@ CREATEPID = False
|
|||
PIDFILE = None
|
||||
NOFORK = False
|
||||
DOCKER = False
|
||||
SNAP = False
|
||||
FROZEN = False
|
||||
|
||||
SCHED = None
|
||||
|
@ -194,6 +195,8 @@ def initialize(config_file):
|
|||
|
||||
if DOCKER:
|
||||
build = '[Docker] '
|
||||
elif SNAP:
|
||||
build = '[Snap] '
|
||||
elif FROZEN:
|
||||
build = '[Bundle] '
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue