[systemd-devel] systemd-socket-proxyd & slapd
Suvendu Mitra
suvendu.mitra at gmail.com
Wed Jul 16 05:45:53 PDT 2014
want to start slapd with socket activation via 'systemd-socket-proxyd' ,
I can see that slapd is listening to port 400 & sytemd create socket at
401. But ldapsearch doesn't work with port 401. Any help !!
-------------------
1.
$ cat proxy-to-directory-400.socket
[Socket]
ListenStream=401
[Install]
WantedBy=sockets.target
------------------------------
2.
$ cat proxy-to-directory-400.service
[Unit]
Requires=vgp.master-ldap-400.
service
After=vgp.master-ldap-400.service
[Service]
ExecStart=/usr/lib/systemd/systemd-socket-proxyd ${HOSTNAME}:400
PrivateTmp=yes
PrivateNetwork=yes
-----------------------------------
3.
[Unit]
Description=Local OpenLDAP server
After=vgp.master-ldapdb-400-get.service
Requires=vgp.master-ldapdb-400-get.service
[Service]
Type=simple
LimitNOFILE=4096
LimitCORE=infinity
WorkingDirectory=/etc/ldapfiles/
ExecStart=/usr/local/libexec/slapd -d 0 -f /tmp/fsldap_400.conf -h
"ldap://${HOSTNAME}:400" -l "LOCAL1"
--
Suvendu Mitra
GSM - +358504821066
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140716/c07b73fd/attachment.html>
More information about the systemd-devel
mailing list