mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-25 00:09:24 +00:00
fix: moved function
This commit is contained in:
parent
178a59e410
commit
a0c3db7453
6
start.py
6
start.py
@ -47,6 +47,9 @@ def dockercmd(cmd):
|
|||||||
else:
|
else:
|
||||||
puts("Docker not found! please install docker!", color=colors.red)
|
puts("Docker not found! please install docker!", color=colors.red)
|
||||||
|
|
||||||
|
def check_already_running():
|
||||||
|
return check_if_exists("docker ps --filter 'name=^firegex$' --no-trunc | grep firegex")
|
||||||
|
|
||||||
def gen_args():
|
def gen_args():
|
||||||
|
|
||||||
#Main parser
|
#Main parser
|
||||||
@ -164,8 +167,7 @@ volumes:
|
|||||||
firegex_data:
|
firegex_data:
|
||||||
""")
|
""")
|
||||||
|
|
||||||
def check_already_running():
|
|
||||||
return check_if_exists("docker ps --filter 'name=^firegex$' --no-trunc | grep firegex")
|
|
||||||
|
|
||||||
def get_password():
|
def get_password():
|
||||||
if volume_exists() or args.startup_psw:
|
if volume_exists() or args.startup_psw:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user