Prevent exit

Altered print to input so that code does not exit/finish. This should keep the container running.,
This commit is contained in:
Jonny Ervine 2020-10-22 02:54:05 +00:00
parent a81ec671bb
commit 1a6a3d795c

View File

@ -88,4 +88,4 @@ if __name__ == '__main__':
handler = CustomHandler() handler = CustomHandler()
controller = MyController(handler, hostname=LHOST, port=LPORT) controller = MyController(handler, hostname=LHOST, port=LPORT)
controller.start() controller.start()
print('SMTP server is running.\n') input('SMTP server is running.\n')