Update start.py
This commit is contained in:
committed by
GitHub
parent
5bcaf13a5c
commit
1804d7f452
2
start.py
2
start.py
@@ -139,7 +139,7 @@ volumes:
|
|||||||
""")
|
""")
|
||||||
def main():
|
def main():
|
||||||
start_operation = not (args.stop or args.restart)
|
start_operation = not (args.stop or args.restart)
|
||||||
volume_exists = check_if_exists('docker volume ls --filter="name=^firegex_firegex_data$" --quiet')
|
volume_exists = check_if_exists('docker volume ls --filter="name=^firegex_firegex_data$" --quiet | grep firegex_firegex_data')
|
||||||
|
|
||||||
if args.clear:
|
if args.clear:
|
||||||
dockercmd("volume rm firegex_firegex_data")
|
dockercmd("volume rm firegex_firegex_data")
|
||||||
|
|||||||
Reference in New Issue
Block a user