repoindex/repoindex.conf.js

37 lines
780 B
JavaScript

{
"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"
]
}
]
}
}