Skip to content

Commit

Permalink
Update pacoloco.yaml.sample
Browse files Browse the repository at this point in the history
- Added second '#' to differentiate options and comments
- Commented optional repository and left as example for user
- Commented optional prefetching section and left as example for user
  • Loading branch information
ericlay authored and anatol committed Jun 23, 2023
1 parent 02a420e commit 87a28c9
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pacoloco.yaml.sample
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# cache_dir: /var/cache/pacoloco
# port: 9129
download_timeout: 3600 # downloads will timeout if not completed after 3600 sec, 0 to disable timeout
purge_files_after: 2592000 # purge file after 30 days
# set_timestamp_to_logs: true # uncomment to add timestamp, useful if pacoloco is being ran through docker
download_timeout: 3600 ## downloads will timeout if not completed after 3600 sec, 0 to disable timeout
purge_files_after: 2592000 ## purge file after 30 days
# set_timestamp_to_logs: true ## uncomment to add timestamp, useful if pacoloco is being ran through docker

repos:
archlinux:
urls:
urls: ## add or change official mirror urls as desired, see https://archlinux.org/mirrors/status/
- http://mirror.lty.me/archlinux
- http://mirrors.kernel.org/archlinux
archlinux-reflector:
mirrorlist: /etc/pacman.d/mirrorlist # Be careful! Check that pacoloco URL is NOT included in that file!
quarry:
url: http://pkgbuild.com/~anatolik/quarry/x86_64
sublime:
url: https://download.sublimetext.com/arch/stable/x86_64
prefetch: # optional section, add it if you want to enable prefetching
cron: 0 0 3 * * * * # standard cron expression (https://en.wikipedia.org/wiki/Cron#CRON_expression) to define how frequently prefetch, see https://github.com/gorhill/cronexpr#implementation for documentation.
ttl_unaccessed_in_days: 30 # defaults to 30, set it to a higher value than the number of consecutive days you don't update your systems
# It deletes and stop prefetch packages(and db links) when not downloaded after ttl_unaccessed_in_days days that it had been updated.
ttl_unupdated_in_days: 300 # defaults to 300, it deletes and stop prefetch packages which hadn't been either updated upstream or requested for ttl_unupdated_in_days.
# http_proxy: http://proxy.company.com:8888 # Enable this if you have pacoloco running behind a proxy
mirrorlist: /etc/pacman.d/mirrorlist ## Be careful! Check that pacoloco URL is NOT included in that file!
## Local/3rd party repos can be added following the below example:
# quarry:
# url: http://pkgbuild.com/~anatolik/quarry/x86_64

# prefetch: ## optional section, add it if you want to enable prefetching
# cron: 0 0 3 * * * * ## standard cron expression (https://en.wikipedia.org/wiki/Cron#CRON_expression) to define how frequently prefetch, see https://github.com/gorhill/cronexpr#implementation for documentation.
# ttl_unaccessed_in_days: 30 ## defaults to 30, set it to a higher value than the number of consecutive days you don't update your systems
## It deletes and stops prefetching packages (and db links) when not downloaded after "ttl_unaccessed_in_days" days that it has been updated.
# ttl_unupdated_in_days: 300 ## defaults to 300, it deletes and stops prefetching packages which haven't been either updated upstream or requested for "ttl_unupdated_in_days".
# http_proxy: http://proxy.company.com:8888 ## Enable this if you have pacoloco running behind a proxy
# user_agent: Pacoloco/1.2

0 comments on commit 87a28c9

Please sign in to comment.