dcron: added runit service.

This commit is contained in:
Juan RP 2014-10-13 13:46:01 +02:00
parent fc44d1f8f1
commit 0ef3e97692
3 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec logger -p cron.notice

2
srcpkgs/dcron/files/dcron/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec crond -f 2>&1

View file

@ -1,9 +1,9 @@
# Template file for 'dcron'
pkgname=dcron
version=4.5
revision=24
revision=25
conf_files="/var/spool/cron/root"
replaces="cron-daemon>=0"
replaces="cron-daemon>=0 runit-void<20141013_2"
provides="cron-daemon-1_1"
short_desc="Dillon's lightweight cron daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -45,4 +45,6 @@ do_install() {
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/dcron.service 644 usr/lib/systemd/system
fi
vsv dcron
}