aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/crond.initd
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-05 15:12:50 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-19 22:50:22 +0100
commit64c6f1e9d0c47f96b84a3e4f1c461e3e3f8329fb (patch)
tree1867b68e996b9dd42f4ad04d7f3dabf1b3543d1a /main/busybox-initscripts/crond.initd
parent7e238ca57477bbf275e17c3cfd60fb97e16991ff (diff)
downloadaports-64c6f1e9d0c47f96b84a3e4f1c461e3e3f8329fb.tar.bz2
aports-64c6f1e9d0c47f96b84a3e4f1c461e3e3f8329fb.tar.xz
main/busybox-initscripts: rename cron service to crond
cron is the name of a virtual service and a real service. This causes a non-fatal error with the most recent OpenRC version. This error appears everytime openrc updates the dependency tree this can be triggered manually by calling rc_deptree_update(3). Renaming the busybox cron service fixes this error, however, this breaks backwards compatibility.
Diffstat (limited to 'main/busybox-initscripts/crond.initd')
-rw-r--r--main/busybox-initscripts/crond.initd11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/busybox-initscripts/crond.initd b/main/busybox-initscripts/crond.initd
new file mode 100644
index 0000000000..afaf384acd
--- /dev/null
+++ b/main/busybox-initscripts/crond.initd
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+
+name="busybox $SVCNAME"
+command="/usr/sbin/$SVCNAME"
+pidfile="/var/run/$SVCNAME.pid"
+command_args="$CRON_OPTS"
+
+depend() {
+ need localmount
+ need logger
+}