-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |