summaryrefslogtreecommitdiff
path: root/src/sysv/SUSE
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-06-20 10:12:00 -0400
committerJakub Hrozek <jhrozek@redhat.com>2013-06-21 00:07:26 +0200
commite0ade8d1e00d577686f893e0059def5866dcb9f6 (patch)
treebd2538512704abb2f373123e9aec166d883d37e0 /src/sysv/SUSE
parent7d9e5527237b1a779b4cb464f64eae72c3a2162d (diff)
downloadsssd-e0ade8d1e00d577686f893e0059def5866dcb9f6.tar.gz
sssd-e0ade8d1e00d577686f893e0059def5866dcb9f6.tar.bz2
sssd-e0ade8d1e00d577686f893e0059def5866dcb9f6.zip
Configure SYSV init scripts properly
Previously, these contained hard-coded paths. Now they are populated correctly by the configure script. https://fedorahosted.org/sssd/ticket/1986
Diffstat (limited to 'src/sysv/SUSE')
-rw-r--r--src/sysv/SUSE/sssd.in (renamed from src/sysv/SUSE/sssd)5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sysv/SUSE/sssd b/src/sysv/SUSE/sssd.in
index 2f98c216..04d30231 100644
--- a/src/sysv/SUSE/sssd
+++ b/src/sysv/SUSE/sssd.in
@@ -23,8 +23,8 @@ prog="sssd"
. /etc/rc.status
rc_reset
-SSSD=/usr/sbin/sssd
-PID_FILE=/var/run/sssd.pid
+SSSD=@sbindir@/sssd
+PID_FILE=@localstatedir@/run/sssd.pid
case "$1" in
start)
@@ -75,4 +75,3 @@ case "$1" in
exit 1
esac
rc_exit
-