diff --git a/start.py b/start.py index 2f31908..3642117 100644 --- a/start.py +++ b/start.py @@ -173,7 +173,7 @@ if __name__ == '__main__': line_str = line.decode("utf-8") event = json.loads(line_str) - if event['Action'] in ['start', 'destroy']: + if event['Action'] in ['start', 'stop']: # check if there is any domain name configured container_id = event['id'] if len(list_domains.handle_container(client, container_id)) > 0: