summaryrefslogtreecommitdiff
blob: 252473bcede28b0e741923bf4a6c27ce1d5fc928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
A couple of changes are necessary to make sssd work better on Gentoo Linux
systems.

- login manager can use sssd for login. Therefore it's necessary to adjust
the dependencies of the script to use 'xdm' if it is available.
- We need to send the debug output to files instead of stderr.

Signed-off-by: Markos Chandras <hwoarang@gentoo.org>

Index: sssd-1.9.6/src/sysv/gentoo/sssd
===================================================================
--- sssd-1.9.6.orig/src/sysv/gentoo/sssd
+++ sssd-1.9.6/src/sysv/gentoo/sssd
@@ -2,12 +2,12 @@
 
 depend(){
     need localmount netmount clock
-    use syslog
+    use syslog xdm
 }
 
 start(){
     ebegin "Starting sssd"
-    start-stop-daemon --start --exec ${exec_prefix}/sbin/sssd -- -D
+    start-stop-daemon --start --exec ${exec_prefix}/sbin/sssd -- -Df
     eend ${?}
 }