cronie: add empty crontab to suppress error message on startup.

This commit is contained in:
Christian Neukirchen 2015-02-14 15:47:04 +01:00
parent 857ace875e
commit 94915df50a
2 changed files with 4 additions and 2 deletions

View File

@ -0,0 +1 @@
# /etc/crontab - main system crontab(5) file

View File

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.4.12
revision=4
revision=5
build_style=gnu-configure
configure_args="--with-inotify --without-selinux --with-pam
--enable-anacron --localstatedir=/var --enable-pie --enable-relro"
@ -15,7 +15,7 @@ make_dirs="
/etc/cron.monthly 0755 root root
/var/spool/cron 0755 root root
/var/spool/anacron 0755 root root"
conf_files="/etc/anacrontab /etc/pam.d/crond /etc/cron.deny"
conf_files="/etc/crontab /etc/anacrontab /etc/pam.d/crond /etc/cron.deny"
replaces="cron-daemon>=0"
provides="cron-daemon-0_1"
short_desc="Runs specified programs at scheduled times"
@ -33,6 +33,7 @@ post_install() {
vinstall ${FILESDIR}/cronie.service 644 usr/lib/systemd/system
fi
vsv cronie
vinstall ${FILESDIR}/crontab 644 etc
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
# Add /etc/cron.deny empty, to allow all users.