You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debian/Ubuntu don't have the option to use crond from busybox (it is not included) so they install cron through apt.
Alpine already includes busybox with crond.
Arch and Fedora will install busybox to provide crond.
if /defaults/crontabs/abc or /defaults/crontabs/root exist (in the downstream image) setup /config/crontabs/ for the user and import user crontabs to system
downstream images should only ship abc crontab unless absolutely necessary (ex: rsnapshot needs root, cron mod sets up both so the user can do whatever they want)
if crontabs have been setup on system, run the cron service, otherwise sleep infinity (do nothing)
These should be safe to merge anytime as they don't actually do anything unless the downstream image (or the cron mod) include crontabs, or technically the user can mount /etc/crontabs/abc or /etc/crontabs/root to their image, but we should only ever ship /defaults/crontabs/* in downstream images so we're consistent in setting up the /config/crontabs/*
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base image changes:
/defaults/crontabs/abcor/defaults/crontabs/rootexist (in the downstream image) setup/config/crontabs/for the user and import user crontabs to systemabccrontab unless absolutely necessary (ex: rsnapshot needs root, cron mod sets up both so the user can do whatever they want)These should be safe to merge anytime as they don't actually do anything unless the downstream image (or the cron mod) include crontabs, or technically the user can mount
/etc/crontabs/abcor/etc/crontabs/rootto their image, but we should only ever ship/defaults/crontabs/*in downstream images so we're consistent in setting up the/config/crontabs/*