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