Update start.py

This commit is contained in:
Domingo Dirutigliano
2023-04-13 17:56:35 +02:00
committed by GitHub
parent d856b0eed4
commit ed830d713d

View File

@@ -131,7 +131,7 @@ services:
cap_add:
- NET_ADMIN
""")
def main():
start_operation = not (args.stop or args.restart)
if args.build and not os.path.isfile("./Dockerfile"):
@@ -191,3 +191,9 @@ if not args.no_autostart:
else:
puts("Done! You can start/stop firegex with docker-compose up -d --build", color=colors.yellow)
sep()
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
print()