Skip to content

Commit

Permalink
fix: ssh socket template
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwillsher committed Jun 13, 2024
1 parent 003a20a commit 8f483a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions templates/sshd.socket.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Accept=yes
{% else %}
Accept=no
{% endif %}
{% if __sshd_socket_freebind %}
{% if __sshd_socket_freebind is not none %}
FreeBind={{ __sshd_socket_freebind }}
{% endif %}

[Install]
WantedBy=sockets.target
{% if __ssh_socket_required_by %}
{% if __ssh_socket_required_by is not none %}
RequiredBy=ssh.service
{% endif %}
2 changes: 1 addition & 1 deletion vars/Ubuntu_24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ __sshd_environment_variable: $SSHD_OPTS
__sshd_service_after: auditd.service
__sshd_service_alias: sshd

__sshd_socket_freebind: "yes"
__sshd_socket_freebind: 'yes'
__sshd_socket_required_by: ssh.service

0 comments on commit 8f483a4

Please sign in to comment.