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,
|
# so that your repos automatically use your image's actual Fedora version,
|
||||||
# which greatly simplifies future maintenance of your custom recipe.
|
# which greatly simplifies future maintenance of your custom recipe.
|
||||||
repos:
|
repos:
|
||||||
# Example (which also demonstrates version number expansion):
|
# 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://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
|
- https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
||||||
|
|
||||||
# These RPMs will be installed from your enabled repositories (Fedora's own
|
# These RPMs will be installed from your enabled repositories (Fedora's own
|
||||||
@@ -59,8 +59,8 @@ rpm:
|
|||||||
# Add your own below:
|
# Add your own below:
|
||||||
# Example:
|
# Example:
|
||||||
# - tilix
|
# - tilix
|
||||||
# - brave-browser
|
|
||||||
- code
|
- code
|
||||||
|
- cronie
|
||||||
# These RPMs will be removed from the system image. This step happens during
|
# These RPMs will be removed from the system image. This step happens during
|
||||||
# image build, BEFORE installing custom RPMs (from the "rpm.install" category).
|
# image build, BEFORE installing custom RPMs (from the "rpm.install" category).
|
||||||
remove:
|
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