playing with signals

This commit is contained in:
Marco Ochse
2018-04-16 23:25:50 +00:00
parent 446880de55
commit d1756fa934
8 changed files with 14 additions and 3 deletions

View File

@ -47,4 +47,4 @@ RUN apk -U upgrade && \
# Run ewsposter
USER ews:ews
CMD sleep 10 && /usr/bin/python /opt/ewsposter/ews.py -l 60
CMD sleep 10 && exec /usr/bin/python /opt/ewsposter/ews.py -l 60

View File

@ -12,6 +12,7 @@ services:
build: .
container_name: ewsposter
restart: always
stop_signal: SIGINT
networks:
- ewsposter_local
env_file: