summaryrefslogtreecommitdiffstats
path: root/docker/s6/crond/run
diff options
context:
space:
mode:
Diffstat (limited to 'docker/s6/crond/run')
-rwxr-xr-xdocker/s6/crond/run9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker/s6/crond/run b/docker/s6/crond/run
new file mode 100755
index 0000000000..9aa9fb9f27
--- /dev/null
+++ b/docker/s6/crond/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Crontabs are located by default in /var/spool/cron/crontabs/
+# The default configuration is also calling all the scripts in /etc/periodic/${period}
+
+if test -f ./setup; then
+ source ./setup
+fi
+
+exec gosu root /usr/sbin/crond -fS