summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-06-01 14:13:46 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-06-01 19:09:54 +0200
commit573334b7ecf1386846749e53009c7b9665986585 (patch)
tree69d4e8eb54657129727f7650d98802f08b461cae
parenttextproc/groonga: Update version 15.0.4=>15.0.9 (diff)
security/kanidm: Fix user in rc script
Reported by: vanilla
-rw-r--r--security/kanidm/Makefile2
-rw-r--r--security/kanidm/files/kanidm_unixd.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/kanidm/Makefile b/security/kanidm/Makefile
index bbc61580bee1..d301200b348a 100644
--- a/security/kanidm/Makefile
+++ b/security/kanidm/Makefile
@@ -1,7 +1,7 @@
PORTNAME= kanidm
DISTVERSIONPREFIX= v
DISTVERSION= 1.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net
MAINTAINER= bofh@FreeBSD.org
diff --git a/security/kanidm/files/kanidm_unixd.in b/security/kanidm/files/kanidm_unixd.in
index 77e87f6b6546..adc76d1c92c2 100644
--- a/security/kanidm/files/kanidm_unixd.in
+++ b/security/kanidm/files/kanidm_unixd.in
@@ -21,7 +21,7 @@ load_rc_config $name
pidfile="/var/run/kanidm-unixd.pid"
command=/usr/sbin/daemon
-command_args="-u _kanidm_unixd -p /var/run/kanidm-unixd.pid -T kanidm_unixd /usr/local/libexec/${name}"
+command_args="-u %%USER%% -p /var/run/kanidm-unixd.pid -T kanidm_unixd /usr/local/libexec/${name}"
procname=/usr/local/libexec/${name}
run_rc_command "$1"