fauria / docker-mailman

🐳 Complete GNU Mailman suite, including Exim MTA, Apache webserver and DKIM support.
https://hub.docker.com/r/fauria/mailman/
MIT License
21 stars 9 forks source link

Remove old compiled files when updating the mm_cfg.py #2

Closed intentionally-left-nil closed 6 years ago

intentionally-left-nil commented 6 years ago

When mounting mailman to an external volume, the initial mm_cfg.py file generates a mm_cfg.pyc file. If you subsequently modify the .py file in future docker starts, the change isn't reflected because mailman is using the .pyc file.

This change deletes the mm_cfg.pyc file when changing mm_cfg.py

fauria commented 6 years ago

Hi!

First of all, sorry for catching up so late and thank you for your PR, I just merged it.

Regards!

intentionally-left-nil commented 6 years ago

Thanks!