Skip to content
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

WIP Deoccupy root's crontab #634

Conversation

andrey-utkin
Copy link
Contributor

Put subdomain TLS certificate renewal jobs to a /etc/cron.d/ file with a name which clearly marks its association.

Unobtrusively clear root's crontab from the remaining job entries.

@andrey-utkin andrey-utkin force-pushed the dont-take-over-root-crontab branch from 0a47c6d to 798d295 Compare November 28, 2023 23:36
@andrey-utkin
Copy link
Contributor Author

I didn't notice debian/bluecherry.cron while I was working on this change:

 $ cat debian/bluecherry.cron
# m h dom mon dow user          command
0   0  *   *   *  bluecherry    /usr/share/bluecherry/backup_db.sh
30   0  *   *   *  bluecherry    curl -k https://localhost:7001/subdomainprovidercron

 $ ag bluecherry.cron
scripts/build_helper/post_make_install.sh
36:cp    ${SRC_PATH}/debian/bluecherry.cron ${DST_DIR}/etc/cron.d/bluecherry

@andrey-utkin andrey-utkin force-pushed the dont-take-over-root-crontab branch from 798d295 to b0eb2e1 Compare December 19, 2023 00:12
Put subdomain TLS certificate renewal jobs to a /etc/cron.d/ file with a
name which clearly marks its association.

Unobtrusively clear root's crontab from the remaining job entries.
See bluecherrydvr#635

Give pip-installed one a priority as it's more likely to be up to date,
which is useful long-term as LetsEncrypt matters sometimes change on
short notice.
@andrey-utkin andrey-utkin force-pushed the dont-take-over-root-crontab branch from b0eb2e1 to 4c37d1e Compare December 19, 2023 00:13
@andrey-utkin
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant