blob: c5f151b868489c1107a075d3abfa2019ecbd8a8f [file] [log] [blame]
Denys Vlasenkof5c2f722009-11-08 00:55:39 +01001# [ADDR:]service_name must be in /etc/services, or port number
2# socket_type stream/dgram/raw/rdm/seqpacket
3# protocol tcp/udp
4# wait/nowait[.max] wait is usually for udp, nowait for tcp
5# max: max copies to run
6# user[.group] or user[:group] user and group to run under
7# binary program to run
8# arg0 arg1 arg2... arguments, INCLUDING program name (arg0)
9
10# serv socket pro w/nw user binary args
11
12# IPv6
13555 dgram udp6 wait root echo echo Hello IPv6 udp world
14# ...with ADDR prefix:
15::1:444 stream tcp6 nowait root echo echo Hello IPv6 localhost
16
17# Rarely seen case: tcp *wait* service
18telnet stream tcp wait root telnetd telnetd -w10