thank me later

Socket units

Socket units are used to manage:

A socket unit is paired with a matching service.

Systemd socket addresses

If the address starts with /, a file system AF_UNIX socket is used. If the address starts with @ an abstract namespace AF_UNIX socket is used. If the address string is v.w.x.y:z it is interpreted as IPv4 address. If the address string is [x]:y it is interpreted as IPv6 address.

Socket types

Network socket options

For AF_INET and AF_INET6 sockets;

File system socket options

For AF_UNIX sockets and FIFOs.