aboutsummaryrefslogtreecommitdiffstats
path: root/community/cronie/cronie.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/cronie/cronie.initd')
-rw-r--r--community/cronie/cronie.initd11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/cronie/cronie.initd b/community/cronie/cronie.initd
new file mode 100644
index 00000000000..c7bed4efab8
--- /dev/null
+++ b/community/cronie/cronie.initd
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+
+name="$RC_SVCNAME"
+command="/usr/sbin/crond"
+command_args="$CRON_OPTS -n"
+command_background=true
+pidfile="/run/$RC_SVCNAME.pid"
+
+depend() {
+ provide cron
+}