Commit 47da22ba authored by intrigeri's avatar intrigeri
Browse files

tails::mirror sync' cronjob: don't assume perl is available

See tails/tails!19 for the corresponding change in tails/tails.
parent 75b78ba2
0 * * * * root sleep $(perl -E 'print int(rand(2400))') && flock -n /var/run/lock/tails-mirror-rsync rsync -rt --delete <%= @mirror_path %>
0 * * * * root sleep $(shuf --input-range=0-2400 --head-count=1) && flock -n /var/run/lock/tails-mirror-rsync rsync -rt --delete <%= @mirror_path %>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment