31.5.13

systemd for sssd

Hey, I made a systemd file. I built sssd from the git so it installed in /usr/local. I changed the ExexStart and PIDFile entries. OK, I cheated because I looked at what openSUSE had done when it installed it from the rpm. But still, not bad considering.

Here is the file at:
/usr/lib/systemd/system/sssd.service


[Unit]
Description=System Security Services Daemon
# SSSD will not be started until syslog is
After=syslog.target

[Service]
ExecStart=/usr/local/sbin/sssd
# These two should be used with traditional UNIX forking daemons
# consult systemd.service(5) for more details
Type=forking   
PIDFile=/usr/local/var/run/sssd.pid

[Install]
WantedBy=multi-user.target

Then it's just:
systemd enable sssd