summaryrefslogtreecommitdiffstats
path: root/src/sysv/gentoo
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/gentoo
parent7d9e5527237b1a779b4cb464f64eae72c3a2162d (diff)
downloadsssd-e0ade8d1e00d577686f893e0059def5866dcb9f6.tar.gz
sssd-e0ade8d1e00d577686f893e0059def5866dcb9f6.tar.xz
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/gentoo')
-rw-r--r--src/sysv/gentoo/sssd.in (renamed from src/sysv/gentoo/sssd)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysv/gentoo/sssd b/src/sysv/gentoo/sssd.in
index cbaedfd5d..8007b644a 100644
--- a/src/sysv/gentoo/sssd
+++ b/src/sysv/gentoo/sssd.in
@@ -7,12 +7,12 @@ depend(){
start(){
ebegin "Starting sssd"
- start-stop-daemon --start --exec /usr/sbin/sssd -- -D
+ start-stop-daemon --start --exec @sbindir@/sssd -- -D
eend ${?}
}
stop(){
ebegin "Stopping sssd"
- start-stop-daemon --stop --pidfile /var/run/sssd.pid
+ start-stop-daemon --stop --pidfile @localstatedir@/run/sssd.pid
eend ${?}
}