diff --git a/contrib/systemd/whawty-auth_ldap.socket b/contrib/systemd/whawty-auth_ldap.socket new file mode 100644 index 0000000..1427726 --- /dev/null +++ b/contrib/systemd/whawty-auth_ldap.socket @@ -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 diff --git a/contrib/systemd/whawty-auth_ldaps.socket b/contrib/systemd/whawty-auth_ldaps.socket new file mode 100644 index 0000000..744edb8 --- /dev/null +++ b/contrib/systemd/whawty-auth_ldaps.socket @@ -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