dcron: added runit service.
This commit is contained in:
parent
fc44d1f8f1
commit
0ef3e97692
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -p cron.notice
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec crond -f 2>&1
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'dcron'
|
# Template file for 'dcron'
|
||||||
pkgname=dcron
|
pkgname=dcron
|
||||||
version=4.5
|
version=4.5
|
||||||
revision=24
|
revision=25
|
||||||
conf_files="/var/spool/cron/root"
|
conf_files="/var/spool/cron/root"
|
||||||
replaces="cron-daemon>=0"
|
replaces="cron-daemon>=0 runit-void<20141013_2"
|
||||||
provides="cron-daemon-1_1"
|
provides="cron-daemon-1_1"
|
||||||
short_desc="Dillon's lightweight cron daemon"
|
short_desc="Dillon's lightweight cron daemon"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -45,4 +45,6 @@ do_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
vinstall ${FILESDIR}/dcron.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/dcron.service 644 usr/lib/systemd/system
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
vsv dcron
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue