Fix failure on certbot renew and overly verbose cron#7
Fix failure on certbot renew and overly verbose cron#7imro2 wants to merge 1 commit intoarugifa:masterfrom
Conversation
|
Hi @imro2 Thanks again for your PR! I didn't reply immediately, because I was a bit concerned about deactivating (almost) completely Certbot output. I find it very useful during debugging, as Certbot stdout is well handled by Docker, and can be seen with So I had a look at the Cronjob executor this image is using. And it is possible somehow to deactivate Cron emails with a small hack, by running crond with simplelogin-postfix-docker/Dockerfile Line 28 in 776a774 This will not deactivate emails completely, as we can see in dcron manpage: https://github.com/dubiousjim/dcron/blob/1ba33c3325df48de46263276a43ed76cf9d81518/crond.8#L46 It will instead try to run the Which should do the trick at the end, as So I would prefer we go for this approach at the end, unless you see something wrong doing so maybe? 💡 |
|
No worries, I am in no rush, just trying to contribute. I understand what you mean about having output for logging, but I don't think that you can see cron output in stdout the way you have it set up. At least I did not see any out put. As far as I know you would have to use supervisord, s6 or some other process supervisor to accomplish that. |
Fix for #6 where certbot renew is not able to use cli.ini because it contains shortened parameter name
domaininstead ofdomains.Changed verbosity from -n to -q to stop cron from generating emails every hour.