summaryrefslogtreecommitdiff
path: root/src/sysv
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysv')
-rw-r--r--src/sysv/systemd/sssd.service.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sysv/systemd/sssd.service.in b/src/sysv/systemd/sssd.service.in
new file mode 100644
index 00000000..d42a08b1
--- /dev/null
+++ b/src/sysv/systemd/sssd.service.in
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Security Services Daemon
+# If dbus crashes or is stopped, then SSSD will be stopped, too
+Requires=dbus.socket
+# SSSD will not be started until syslog is
+After=syslog.target
+
+[Service]
+ExecStart=@sbindir@/sssd -D -f
+# These two should be used with traditional UNIX forking daemons
+# consult systemd.service(5) for more details
+Type=forking
+PIDFile=@localstatedir@/run/sssd.pid
+
+[Install]
+WantedBy=multi-user.target