dcron: remove systemd build option (#1736)

This commit is contained in:
beefcurtains 2015-07-01 09:17:22 +00:00
parent a5c965dbe7
commit c5a89cf7ed
2 changed files with 1 additions and 16 deletions

View file

@ -1,10 +0,0 @@
[Unit]
Description=Periodic Command Scheduler
[Service]
Type=forking
ExecStart=/usr/sbin/crond
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -1,7 +1,7 @@
# Template file for 'dcron'
pkgname=dcron
version=4.5
revision=28
revision=29
build_pie=yes
conf_files="/var/spool/cron/root"
replaces="cron-daemon>=0"
@ -13,7 +13,6 @@ license="GPL-2"
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
checksum=9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824
build_options="systemd"
make_dirs="
/etc/cron.d 0755 root root
/etc/cron.hourly 0755 root root
@ -39,9 +38,5 @@ do_install() {
# crontab must be setuid for all users to work!
chmod 4755 ${DESTDIR}/usr/bin/crontab
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/dcron.service 644 usr/lib/systemd/system
fi
vsv dcron
}