diff options
Diffstat (limited to 'src/sysv/systemd/sssd-ssh.service.in')
-rw-r--r-- | src/sysv/systemd/sssd-ssh.service.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/sysv/systemd/sssd-ssh.service.in b/src/sysv/systemd/sssd-ssh.service.in new file mode 100644 index 0000000..1c18546 --- /dev/null +++ b/src/sysv/systemd/sssd-ssh.service.in @@ -0,0 +1,19 @@ +[Unit] +Description=SSSD SSH Service responder +Documentation=man:sssd.conf(5) +After=sssd.service +BindsTo=sssd.service +RefuseManualStart=true + +[Install] +Also=sssd-ssh.socket + +[Service] +Environment=DEBUG_LOGGER=--logger=files +EnvironmentFile=-@environment_file@ +ExecStartPre=-/bin/chown @SSSD_USER@:@SSSD_USER@ @logpath@/sssd_ssh.log +ExecStart=@libexecdir@/sssd/sssd_ssh ${DEBUG_LOGGER} --socket-activated +Restart=on-failure +User=@SSSD_USER@ +Group=@SSSD_USER@ +PermissionsStartOnly=true |