diff --git a/docker/deploy/etc/s6-overlay/s6-rc.d/cron/dependencies b/docker/deploy/etc/s6-overlay/s6-rc.d/cron/dependencies new file mode 100644 index 000000000..953536720 --- /dev/null +++ b/docker/deploy/etc/s6-overlay/s6-rc.d/cron/dependencies @@ -0,0 +1 @@ +startup \ No newline at end of file diff --git a/docker/deploy/etc/s6-overlay/s6-rc.d/cron/run b/docker/deploy/etc/s6-overlay/s6-rc.d/cron/run index 0ed852110..f1bb22e21 100644 --- a/docker/deploy/etc/s6-overlay/s6-rc.d/cron/run +++ b/docker/deploy/etc/s6-overlay/s6-rc.d/cron/run @@ -1,3 +1,3 @@ -#!/command/execlineb -P +#!/command/with-contenv bash echo "⏰ Starting the cron service..." -cron -f -l 8 \ No newline at end of file +s6-setuidgid root /usr/sbin/cron -f -l 8 \ No newline at end of file diff --git a/docker/deploy/etc/s6-overlay/s6-rc.d/cron/type b/docker/deploy/etc/s6-overlay/s6-rc.d/cron/type index 5883cff0c..1780f9f44 100644 --- a/docker/deploy/etc/s6-overlay/s6-rc.d/cron/type +++ b/docker/deploy/etc/s6-overlay/s6-rc.d/cron/type @@ -1 +1 @@ -longrun +longrun \ No newline at end of file diff --git a/docker/deploy/etc/s6-overlay/s6-rc.d/queue-worker/dependencies b/docker/deploy/etc/s6-overlay/s6-rc.d/queue-worker/dependencies index 953536720..721accf5c 100644 --- a/docker/deploy/etc/s6-overlay/s6-rc.d/queue-worker/dependencies +++ b/docker/deploy/etc/s6-overlay/s6-rc.d/queue-worker/dependencies @@ -1 +1 @@ -startup \ No newline at end of file +cron \ No newline at end of file diff --git a/docker/deploy/etc/s6-overlay/s6-rc.d/user/contents.d/cron b/docker/deploy/etc/s6-overlay/s6-rc.d/user/contents.d/cron new file mode 100644 index 000000000..e69de29bb