fixed config and init-files.
This commit is contained in:
parent
9b68b0c5f0
commit
de0592433a
@ -1,14 +1,14 @@
|
||||
# Krta configuration
|
||||
KTRA_CONF="/etc/krta/app.ini"
|
||||
# Ktra configuration
|
||||
KTRA_CONF="/etc/ktra.toml"
|
||||
|
||||
# Krta user
|
||||
KTRA_USER="git"
|
||||
# Ktra user
|
||||
KTRA_USER="ktra"
|
||||
|
||||
# Krta group
|
||||
KTRA_GROUP="git"
|
||||
# Ktra group
|
||||
KTRA_GROUP="ktra"
|
||||
|
||||
# Krta working directory
|
||||
KTRA_WORK_DIR="/var/lib/krta"
|
||||
# Ktra working directory
|
||||
KTRA_WORK_DIR="/var/lib/ktra"
|
||||
|
||||
# Krta custom directory
|
||||
# Ktra custom directory
|
||||
KTRA_CUSTOM="${KTRA_WORK_DIR}/custom"
|
||||
|
@ -5,8 +5,8 @@
|
||||
description="Ktra, your little cargo registry."
|
||||
|
||||
: ${KTRA_CONF:=/etc/ktra.toml}
|
||||
: ${KTRA_USER:=git}
|
||||
: ${KTRA_GROUP:=git}
|
||||
: ${KTRA_USER:=ktra}
|
||||
: ${KTRA_GROUP:=ktra}
|
||||
: ${KTRA_WORK_DIR:=/var/lib/ktra}
|
||||
: ${KTRA_CUSTOM:=${KTRA_WORK_DIR}/custom}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
# config-options: https://book.ktra.dev/configurations.html
|
||||
[index_config]
|
||||
remote_url = "https://your-git-service.tld/YOUR_USERNAME/YOUR_INDEX.git"
|
||||
https_username = "YOUR_USERNAME"
|
||||
|
@ -314,7 +314,11 @@ REQUIRED_USE="^^ ( mongo redis sled )"
|
||||
COMMON_DEPEND="
|
||||
acct? (
|
||||
acct-group/ktra
|
||||
acct-user/ktra )"
|
||||
acct-user/ktra )
|
||||
mongo? ( dev-db/mongodb )
|
||||
redis? ( dev-db/redis )
|
||||
<dev-libs/libgit2-1.4.0
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
Loading…
Reference in New Issue
Block a user