Skip to content

Instantly share code, notes, and snippets.

@Zerophase
Created June 14, 2016 21:16
Show Gist options
  • Save Zerophase/98c6f045ce2f1ca38bcd7a49d35c6e38 to your computer and use it in GitHub Desktop.
Save Zerophase/98c6f045ce2f1ca38bcd7a49d35c6e38 to your computer and use it in GitHub Desktop.
Exmple json file
{
"aria2": {
"args": [
"--no-conf",
"--allow-overwrite=true",
"--always-resume=false",
"--auto-file-renaming=false",
"--check-integrity=true",
"--conditional-get=true",
"--continue=true",
"--file-allocation=falloc",
"--log-level=error",
"--max-concurrent-downloads=100",
"--max-connection-per-server=5",
"--min-split-size=5M",
"--remote-time=true",
"--show-console-readout=true"
],
"path": "/usr/bin/aria2c"
},
"pacman": {
"config": "/etc/pacman.conf",
"path": "/usr/bin/pacman"
},
"pacserve": {
"server": null
},
"powerpill": {
"select": true,
"reflect databases": false
},
"reflector": {
"args.unused": [
"--protocol",
"http",
"--latest",
"50"
]
},
"rsync": {
"args": [
"--no-motd",
"--progress"
],
"db only": true,
"path": "/usr/bin/rsync",
"servers":
[ // want to store file of updated servers to here
"rsync://lug.mtu.edu/archlinux/$repo/os/$arch",
"rsync://mirrors.rit.edu/archlinux/$repo/os/$arch",
"rsync://mirrors.advancedhosters.com/archlinux/$repo/os/$arch",
"rsync://mirror.frgl.pw/archlinux/$repo/os/$arch",
"rsync://archlinux.polymorf.fr/archlinux/$repo/os/$arch",
"rsync://mirror.pseudoform.org/packages/$repo/os/$arch",
"rsync://mirror.23media.de/archlinux/$repo/os/$arch",
"rsync://mirror5.bastelfreak.org/archlinux/$repo/os/$arch",
"rsync://archlinux.honkgong.info/archlinux/$repo/os/$arch",
"rsync://archlinux.my-universe.com/archlinux/$repo/os/$arch",
"rsync://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch",
"rsync://mirrors.niyawe.de/archlinux/$repo/os/$arch",
"rsync://mirror.dkm.cz/archlinux/$repo/os/$arch",
"rsync://mirror.js-webcoding.de/pub/archlinux/$repo/os/$arch",
"rsync://mirror.f4st.host/archlinux/$repo/os/$arch",
"rsync://ftp.sh.cvut.cz/arch/$repo/os/$arch",
"rsync://ftp.nluug.nl/archlinux/$repo/os/$arch",
"rsync://mirror.one.com/archlinux/$repo/os/$arch",
"rsync://mirror.selfnet.de/archlinux/$repo/os/$arch",
"rsync://ftp.swin.edu.au/archlinux/$repo/os/$arch"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment