added samples

This commit is contained in:
Martchus 2015-12-13 21:10:22 +01:00
parent 9315025dd6
commit 2aed20cdb5
1 changed files with 36 additions and 0 deletions

36
samples/repoindex.conf.js Normal file
View File

@ -0,0 +1,36 @@
{
"alpm": {
"rootDir": "/",
"dbPath": "/var/lib/pacman",
"pacmanConfigFile": "/etc/pacman.conf"
},
"aur": {
"enabled": true
},
"server": {
"listeningPort": 1234,
"certFile": "some.cert",
"keyFile": "some.key",
"insecure": false
},
"repos": {
"fromPacmanConfig": true,
"add": [
{"name": "examplerepo",
"dataBaseFile": "path/to/database/file",
"sourcesDir": "path/to/local/source/dir",
"packagesDir": "path/to/local/pkg/dir",
"upgradeSources": ["aur"],
"server": [
"https://some/mirror",
"https://another/mirror"
]
}
]
}
}