-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/etc/cron.d/certbot cron file should be absent when manage_cron is set to true on Debian #164
Comments
It's a valid point. On Debian (and likely Debian-based) there is indeed a default cronjob (and systemd timer) but there isn't on RH(-based). |
@hostingnuggets could you provide a PR for this? |
@bastelfreak yes that should be an easy one. Just about the rspec test I am not sure if it would work because in order to test that the default package certbot cron file is present/absent I need the certbot package to be installed. Or do you have an idea what test would make sense? |
I'd guess a |
I see so a new test in |
On related note, on RHEL7 systems supplied timer should be disabled when cron is managed.
|
@vchepkov can you provide a PR for this? |
And for Debian 11 (certbot 1.12.0-2) we should disable systemd certbot.timer |
In my opinion the
/etc/cron.d/certbot
(default cron job for running certbot twice per day on Debian with official cerbot package) file should be absent when one setsmanage_cron
totrue
as both can/will interfere.I did not check on other distributions but this might also be an issue with other distros.
For your reference here is the contact of that
/etc/cron.d/certbot
file on Debian 9:What do you think?
The text was updated successfully, but these errors were encountered: