fix: moved function
This commit is contained in:
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user