Install crontab and enable the crond service
This commit is contained in:
@@ -40,8 +40,8 @@ rpm:
|
||||
# so that your repos automatically use your image's actual Fedora version,
|
||||
# which greatly simplifies future maintenance of your custom recipe.
|
||||
repos:
|
||||
# Example (which also demonstrates version number expansion):
|
||||
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%FEDORA_VERSION%/atim-starship-fedora-%FEDORA_VERSION%.repo
|
||||
# Example (which also demonstrates version number expansion):
|
||||
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%FEDORA_VERSION%/atim-starship-fedora-%FEDORA_VERSION%.repo
|
||||
- https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
||||
|
||||
# These RPMs will be installed from your enabled repositories (Fedora's own
|
||||
@@ -59,8 +59,8 @@ rpm:
|
||||
# Add your own below:
|
||||
# Example:
|
||||
# - tilix
|
||||
# - brave-browser
|
||||
- code
|
||||
- cronie
|
||||
# These RPMs will be removed from the system image. This step happens during
|
||||
# image build, BEFORE installing custom RPMs (from the "rpm.install" category).
|
||||
remove:
|
||||
|
||||
4
scripts/post/enable-crond.sh
Normal file
4
scripts/post/enable-crond.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
systemctl enable crond
|
||||
Reference in New Issue
Block a user