dcron: accept optional service/conf in the dcron runit service. (#9738)

This commit is contained in:
wangp 2017-12-03 21:40:23 +11:00 committed by Juan RP
parent c6857a2981
commit 833291890a
2 changed files with 3 additions and 2 deletions

View file

@ -1,2 +1,3 @@
#!/bin/sh
exec dcrond -f 2>&1
[ -r conf ] && . ./conf
exec dcrond -f $OPTS 2>&1

View file

@ -1,7 +1,7 @@
# Template file for 'dcron'
pkgname=dcron
version=4.5
revision=31
revision=32
conf_files="/var/spool/cron/root"
provides="cron-daemon-0_1"
short_desc="Dillon's lightweight cron daemon"