summaryrefslogtreecommitdiffstats
path: root/src/sysv/gentoo/sssd-kcm.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysv/gentoo/sssd-kcm.in')
-rw-r--r--src/sysv/gentoo/sssd-kcm.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/sysv/gentoo/sssd-kcm.in b/src/sysv/gentoo/sssd-kcm.in
new file mode 100644
index 0000000..c9242bf
--- /dev/null
+++ b/src/sysv/gentoo/sssd-kcm.in
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v3
+
+description="SSSD Kerberos Cache Manager"
+command="@libexecdir@/sssd/sssd_kcm"
+command_background="true"
+command_args="--uid=0 --gid=0 --logger=files ${SSSD_KCM_OPTIONS}"
+pidfile="@pidpath@/sssd_kcm.pid"
+
+start_pre()
+{
+ "@sbindir@/sssd" --genconf-section=kcm || return $?
+}
+
+depend()
+{
+ need localmount clock
+ use syslog
+ before sssd
+}