version bump net-nds/kanidm-1.11.2
This commit is contained in:
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2016-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Kanidm-unixd: client-helper tool for the kanidm identity management platform"
|
||||
|
||||
depend() {
|
||||
before radius
|
||||
}
|
||||
|
||||
: ${KANIDM_CONF:=/etc/kanidm/unix}
|
||||
: ${KANIDM_USER:=kanidm}
|
||||
: ${KANIDM_GROUP:=kanidm}
|
||||
: ${KANIDM_WORK_DIR:=/var/lib/kanidm}
|
||||
: ${KANIDM_CUSTOM:=${KANIDM_WORK_DIR}/custom}
|
||||
|
||||
command="/usr/bin/kanidm-unix"
|
||||
#command_args="--config-path ${KANIDM_CONF} server"
|
||||
command_background="true"
|
||||
command_user="${KANIDM_USER}:${KANIDM_GROUP}"
|
||||
error_log="/var/log/kanidm/${RC_SVCNAME}.err"
|
||||
output_log="/var/log/kanidm/${RC_SVCNAME}.log"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
#required_files="${KANIDM_CONF}"
|
||||
|
||||
start_pre() {
|
||||
checkpath -m0750 -o "${KANIDM_USER:-root}:${KANIDM_GROUP:-root}" -d /run/${RC_SVCNAME}
|
||||
}
|
||||
Reference in New Issue
Block a user