ansible/roles/sshd/templates/sshd.socket.j2

12 lines
196 B
Django/Jinja

[Unit]
Description=OpenBSD Secure Shell server socket
Before={{ sshd_service }}.service
Conflicts={{sshd_service }}.service
[Socket]
ListenStream=22
Accept=yes
[Install]
WantedBy=sockets.target