summaryrefslogtreecommitdiffstats
path: root/src/sysv
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysv')
-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 000000000..cbaedfd5d
--- /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 ${?}
+}