Hi,
I am trying to implement a client server program over SSL through systemd.
Here I have a TCP systemd socket (listening on a predefined port) and its associated service.
systemd socket file:-
# cat /usr/lib/systemd/system/test_ssl.socket
[Unit]
Description=Test socket
[Socket]
ListenStream=2000
Accept=true
MaxConnections=900
[Install]
WantedBy=sockets.target
systemd service file:-
# cat /usr/lib/systemd/system/test_ssl@.service
[Unit]
Description= Test Service
Requires=test_ssl.socket
[Service]
ExecStart=/home/SSL/server
StandardInput=socket
KillMode=process
[Install]
WantedBy=multi-user.target
The service file invoke the binary /home/SSL/server.
Here is it a very simple client server program, where
1. Server binds and listens on a port number.
2. Client first connects to server with normal connect (server will do accept)
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel