summaryrefslogtreecommitdiff
path: root/nonsystemd/cronie-openrc/cronie.initd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/cronie-openrc/cronie.initd')
-rw-r--r--nonsystemd/cronie-openrc/cronie.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/nonsystemd/cronie-openrc/cronie.initd b/nonsystemd/cronie-openrc/cronie.initd
new file mode 100644
index 000000000..96bcd5a37
--- /dev/null
+++ b/nonsystemd/cronie-openrc/cronie.initd
@@ -0,0 +1,15 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/crond"
+command_args="${CRONDARGS}"
+# pidfile="/run/crond.pid"
+supervisor="supervise-daemon"
+command_args_foreground="-n"
+
+depend() {
+ use clock logger
+ need localmount
+ provide cron
+}