summaryrefslogtreecommitdiffstats
path: root/src/sysv/gentoo/sssd-kcm.in
blob: c9242bf9fb937c28d4636175834b678501732ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}