From e0ade8d1e00d577686f893e0059def5866dcb9f6 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 20 Jun 2013 10:12:00 -0400 Subject: 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 --- src/sysv/gentoo/sssd | 18 ------------------ src/sysv/gentoo/sssd.in | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 src/sysv/gentoo/sssd create mode 100644 src/sysv/gentoo/sssd.in (limited to 'src/sysv/gentoo') diff --git a/src/sysv/gentoo/sssd b/src/sysv/gentoo/sssd deleted file mode 100644 index cbaedfd5..00000000 --- a/src/sysv/gentoo/sssd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript - -depend(){ - need localmount netmount clock - use syslog -} - -start(){ - ebegin "Starting sssd" - start-stop-daemon --start --exec /usr/sbin/sssd -- -D - eend ${?} -} - -stop(){ - ebegin "Stopping sssd" - start-stop-daemon --stop --pidfile /var/run/sssd.pid - eend ${?} -} diff --git a/src/sysv/gentoo/sssd.in b/src/sysv/gentoo/sssd.in new file mode 100644 index 00000000..8007b644 --- /dev/null +++ b/src/sysv/gentoo/sssd.in @@ -0,0 +1,18 @@ +#!/sbin/runscript + +depend(){ + need localmount netmount clock + use syslog +} + +start(){ + ebegin "Starting sssd" + start-stop-daemon --start --exec @sbindir@/sssd -- -D + eend ${?} +} + +stop(){ + ebegin "Stopping sssd" + start-stop-daemon --stop --pidfile @localstatedir@/run/sssd.pid + eend ${?} +} -- cgit