aboutsummaryrefslogtreecommitdiffstats
path: root/community/dcron/dcron.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/dcron/dcron.initd')
-rw-r--r--community/dcron/dcron.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/dcron/dcron.initd b/community/dcron/dcron.initd
new file mode 100644
index 0000000000..65b631b9a5
--- /dev/null
+++ b/community/dcron/dcron.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+
+name="$SVCNAME"
+command="/usr/sbin/crond"
+command_args="$DCRON_OPTS"
+pidfile="/var/run/$SVCNAME.pid"
+description="Dillon's lightweight cron daemon"
+
+depend() {
+ use logger clock hostname
+ provide cron
+}