12 lines
260 B
SYSTEMD
12 lines
260 B
SYSTEMD
[Socket]
|
|
ListenStream=
|
|
%{if length(listen_addresses) > 0}
|
|
%{for listen_address in listen_addresses}
|
|
ListenStream=${listen_address}:${listen_port}
|
|
%{endfor}
|
|
%{else}
|
|
ListenStream=${listen_port}
|
|
%{endif}
|
|
%{if listen_unix}
|
|
ListenStream=/var/run/sshd/sock
|
|
%{endif}
|