Skip to content

Commit

Permalink
add sample ldap systemd socket units
Browse files Browse the repository at this point in the history
  • Loading branch information
equinox0815 committed Jan 31, 2024
1 parent d11a977 commit 8d3e5e2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contrib/systemd/whawty-auth_ldap.socket
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=whawty.auth authentication agent ldap sockets

[Socket]
Service=whawty-auth.service
FileDescriptorName=ldap
ListenStream=127.0.0.1:8389

[Install]
WantedBy=sockets.target
10 changes: 10 additions & 0 deletions contrib/systemd/whawty-auth_ldaps.socket
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=whawty.auth authentication agent ldaps sockets

[Socket]
Service=whawty-auth.service
FileDescriptorName=ldaps
ListenStream=127.0.0.1:8636

[Install]
WantedBy=sockets.target

0 comments on commit 8d3e5e2

Please sign in to comment.