Skip to content

Configuration

Zheng Luo edited this page Jun 26, 2016 · 21 revisions

Configuration file can be specified by -c {config.yaml}.

Example

interval: 3 # Interval between pollings
loglevel: 5 # 0-5. 0 for ERROR and 5 for DEBUG
repos:
    - type: rsync # Config for repo1
      source: rsync://rsync.chiark.greenend.org.uk/ftp/users/sgtatham/putty-website-mirror/
      interval: 6 # Interval between sync
      path: /tmp/putty # Output directory
      name: putty # Required
# You can add more repos here, different repos may have different worker types,
# refer to Workers section for detailed explanation
Clone this wiki locally