File: fex.socket

package info (click to toggle)
fex 20200429-1
  • links: PTS, VCS
  • area: non-free
  • in suites: sid
  • size: 3,532 kB
  • sloc: perl: 32,103; sh: 410; javascript: 53; makefile: 42
file content (28 lines) | stat: -rw-r--r-- 717 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[Unit]
Description=F*EX file exchange TCP listener
# don't run over xinetd fex listener socket
ConditionPathExists=!/etc/xinetd.d/fex
ConditionPathExists=!/usr/share/fex/.inetd_has_fex

[Socket]
# let's be clean and open one listener per address family
BindIPv6Only=ipv6-only
# listen for a stream (tcp) on port 8888 both on ipv4 and ipv6
ListenStream=0.0.0.0:8888
ListenStream=[::]:8888
# spawn a new instance for each incoming connection
Accept=yes

TimeoutSec=0
# Defaults. Tweak if you like...
# MaxConnections=64
# MaxConnectionsPerSource=0
# NoDelay=false
# ReceiveBuffer=
# SendBuffer=


[Install]
WantedBy=sockets.target
# the unit is disabled by default, but can be enabled with systemctl enable fex.socket