Skip to content

Commit

Permalink
Add PATH of s6-overlay to cron tab
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLTN committed Sep 30, 2024
1 parent 89c7e1b commit b0dfa97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs_overlay/var/lib/crontab.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PATH=/command:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user command
<%= rand 60 %> <%= rand 24 %> * * * root /bin/sleep <%= '%.3f' % (rand * 60) %>; /command/with-contenv /command/s6-envdir -I /var/lib/https-portal/dynamic-env /bin/renew_certs > /proc/$(cat /var/run/crond.pid)/fd/1 2>&1
Expand Down

0 comments on commit b0dfa97

Please sign in to comment.