renamed net-nds/kanidmd to net-nds/kanidm

This commit is contained in:
Micha Glave
2026-01-06 12:16:56 +01:00
parent c8e104d338
commit 6ae0deebbb
8 changed files with 25 additions and 25 deletions

View File

@@ -0,0 +1,28 @@
#!/sbin/openrc-run
# Copyright 2016-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="Kanidm: simple, secure, and fast identity management platform"
depend() {
before radius
}
: ${KANIDM_CONF:=/etc/kanidm/server.toml}
: ${KANIDM_USER:=kanidm}
: ${KANIDM_GROUP:=kanidm}
: ${KANIDM_WORK_DIR:=/var/lib/kanidm}
: ${KANIDM_CUSTOM:=${KANIDM_WORK_DIR}/custom}
capabilities=CAP_NET_BIND_SERVICE
command="/usr/sbin/kanidmd"
command_args="--config-path ${KANIDM_CONF} server"
command_background="true"
command_user="${KANIDM_USER}:${KANIDM_GROUP}"
error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.err"
pidfile="/run/${RC_SVCNAME}.pid"
required_files="${KANIDM_CONF}"
start_pre() {
checkpath -m0750 -o "${KANIDM_USER:-root}:${KANIDM_GROUP:-root}" -d /run/kanidmd
}