summaryrefslogtreecommitdiffstats
path: root/src/sysv
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-08-31 13:31:49 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-02 12:23:19 -0400
commit96c73559adfbdac96720008fc022cb1d540b53c3 (patch)
tree65a8361c3576a25e70267d7ae930f0f1233286bc /src/sysv
parente50c0f83b874288332c1c97a181b18206bfe1be2 (diff)
downloadsssd-96c73559adfbdac96720008fc022cb1d540b53c3.tar.gz
sssd-96c73559adfbdac96720008fc022cb1d540b53c3.tar.xz
sssd-96c73559adfbdac96720008fc022cb1d540b53c3.zip
Package systemd unit file
So far, the systemd unit file is only packaged but not used in any of the packaged spec files. Fixes: #483
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 000000000..d42a08b18
--- /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