I'm trying to dockerize a standalone transmission-daemon with https. So I'm using
nginx packages, and the docker is based on alpine Linux.
To run both programs, I'm using
All works good, but I want that
docker container stop gracefully kill my container. So, I have configured
supervisor to propagate TERM signal to
This works good when transmission is idle. But if I stop the container when it downloads or doing something, it unfortunately doesn't works. It seem completely ignore the signal, because even after the download finish, it keeps running.
I have absolutely no idea why. Can someone help me please?
Here is my supervisor transmission configuration:
[program:transmission] user=transmission command=/usr/bin/transmission-daemon -f stopsignal=TERM stopwaitsecs=60 stopasgroup=true killasgroup=true
I'm open to any suggestion.