Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/rrrclient/manifests/cron.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
'metacpan_daily_rsync':
user => $user,
# NOTE: No "--delete" arg since we're also a backpan.
command => "/usr/bin/rsync -a 23.29.118.28::PAUSE/authors/ ${cpan_mirror}/authors/ && /usr/bin/rsync -a 23.29.118.28::PAUSE/modules/ ${cpan_mirror}/modules/",
hour => '*',
minute => '*/15',
command => "/usr/bin/rsync -a cpan-rsync.perl.org::CPAN ${cpan_mirror}",
hour => '23',
minute => '13',
ensure => $ensure;
}
}
2 changes: 1 addition & 1 deletion modules/rrrclient/templates/init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test -x $BIN || { echo "$BIN not installed";
case "$1" in
start)
echo -n "Starting <%= @filename %> "
start-stop-daemon --start --background -c <%= @owner %> -m -p <%= @pid_file %> --startas <%= @bin %> -- --source 23.29.118.28::PAUSE/RECENT.recent --target <%= @cpan_mirror %> --skip-deletes
start-stop-daemon --start --background -c <%= @owner %> -m -p <%= @pid_file %> --startas <%= @bin %> -- --source cpan-rsync.perl.org::CPAN/RECENT.recent --target <%= @cpan_mirror %> --skip-deletes
;;
stop)
echo -n "Shutting down <%= @filename %> "
Expand Down