summaryrefslogtreecommitdiff
path: root/src/sysv/gentoo
diff options
context:
space:
mode:
authorMaxim <kolmax94@gmail.com>2010-08-18 13:51:30 +0400
committerStephen Gallagher <sgallagh@redhat.com>2010-09-02 12:23:18 -0400
commit0d7e647da737b71a7dbbe0bb5f94af18017e5aa9 (patch)
tree6c6351ebc25432f1d575025b378331f8fa689b16 /src/sysv/gentoo
parent56d8d19ac9d857580a233d8264e851883b883c67 (diff)
downloadsssd-0d7e647da737b71a7dbbe0bb5f94af18017e5aa9.tar.gz
sssd-0d7e647da737b71a7dbbe0bb5f94af18017e5aa9.tar.bz2
sssd-0d7e647da737b71a7dbbe0bb5f94af18017e5aa9.zip
Add gentoo distrubutions
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/sysv/gentoo')
-rw-r--r--src/sysv/gentoo/sssd18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/sysv/gentoo/sssd b/src/sysv/gentoo/sssd
new file mode 100644
index 00000000..cbaedfd5
--- /dev/null
+++ b/src/sysv/gentoo/sssd
@@ -0,0 +1,18 @@
+#!/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 ${?}
+}