summaryrefslogtreecommitdiffstats
path: root/src/sysv/systemd/sssd-sudo.socket.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysv/systemd/sssd-sudo.socket.in')
-rw-r--r--src/sysv/systemd/sssd-sudo.socket.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sysv/systemd/sssd-sudo.socket.in b/src/sysv/systemd/sssd-sudo.socket.in
new file mode 100644
index 0000000..e94a2f6
--- /dev/null
+++ b/src/sysv/systemd/sssd-sudo.socket.in
@@ -0,0 +1,16 @@
+[Unit]
+Description=SSSD Sudo Service responder socket
+Documentation=man:sssd.conf(5)
+After=sssd.service
+BindsTo=sssd.service
+DefaultDependencies=no
+Conflicts=shutdown.target
+
+[Socket]
+ExecStartPre=@libexecdir@/sssd/sssd_check_socket_activated_responders -r sudo
+ListenStream=@pipepath@/sudo
+SocketUser=@SSSD_USER@
+SocketMode=0660
+
+[Install]
+WantedBy=sssd.service