mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 15:42:16 +08:00
Added lock-wrapper to umdl to ensure only one instance of umdl is running.
This commit is contained in:
@@ -5,7 +5,7 @@ MAILTO=root
|
||||
|
||||
# update master directory list
|
||||
# logs sent to /var/log/mirrormanager/umdl.log by default
|
||||
0 */2 * * * root /usr/bin/mm2_update-master-directory-list
|
||||
0 */2 * * * root /usr/local/bin/lock-wrapper umdl /usr/bin/mm2_update-master-directory-list
|
||||
|
||||
# Sync netblocks list once a day
|
||||
30 0 * * * root cd /usr/share/mirrormanager2 && /usr/bin/mm2_get_global_netblocks /var/lib/mirrormanager/global_netblocks.txt
|
||||
|
||||
Reference in New Issue
Block a user