#1000151 certbot.service: please provide some logs in journal

#1000151#5
Date:
2021-11-18 17:25:19 UTC
From:
To:
Dear Maintainer,

certbot.service leaves no info in the journal except for errors.

oct. 26 00:44:01 volyova systemd[1]: Starting Certbot...
oct. 26 00:44:03 volyova systemd[1]: certbot.service: Succeeded.

Certificate not due for renewal is also an interesting info.

nov. 16 00:44:01 volyova systemd[1]: Starting Certbot...
nov. 16 00:44:02 volyova certbot[772070]: Saving debug log to /var/log/letsencrypt/letsencrypt.log
nov. 16 00:44:02 volyova certbot[772070]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nov. 16 00:44:02 volyova certbot[772070]: Processing /etc/letsencrypt/renewal/example.net.conf
nov. 16 00:44:02 volyova certbot[772070]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nov. 16 00:44:02 volyova certbot[772070]: Cert not yet due for renewal
nov. 16 00:44:02 volyova certbot[772070]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nov. 16 00:44:02 volyova certbot[772070]: The following certificates are not due for renewal yet:
nov. 16 00:44:02 volyova certbot[772070]:   /etc/letsencrypt/live/example.net/fullchain.pem expires on 2022-02-06 (skipped)
nov. 16 00:44:02 volyova certbot[772070]: No renewals were attempted.
nov. 16 00:44:02 volyova certbot[772070]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

The patch:
--- a/debian/certbot.service
+++ b/debian/certbot.service
@@ -4,5 +4,5 @@ Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html
 Documentation=https://certbot.eff.org/docs
 [Service]
 Type=oneshot
-ExecStart=/usr/bin/certbot -q renew
+ExecStart=/usr/bin/certbot --non-interactive renew
 PrivateTmp=true

Thanks,

Alex

#1000151#10
Date:
2023-01-12 07:52:46 UTC
From:
To:
Hi,

If I can help providing a build ready to upload for this, do not hesitate to ping me.

Alex