File: rush.inetutils-inetd

package info (click to toggle)
rush 1.8%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 5,980 kB
  • ctags: 3,906
  • sloc: ansic: 10,414; sh: 8,909; perl: 297; makefile: 192; awk: 37; sed: 24
file content (37 lines) | stat: -rw-r--r-- 1,292 bytes parent folder | download | duplicates (6)
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
29
30
31
32
33
34
35
36
37
#
# /etc/inetd.d/rush.tcpmux
#
# In order to let GNU Rush use its notification capability
# together with the super-server 'inetutils-inetd', from the
# package of the same name, install the present file as the
# the above path suggests, and also install the mailer in
#
#  /usr/share/doc/rush/examples/rush-notifier
#
# in a suitable directory. Take care to use the very same
# path in the entry suggested below.

# The entry 'tcpmux' is a common part, and must be excluded
# if it is present in other configuration locations.
#
# For each subservice offerred by GNU Rush, like 'sftp-rush',
# a service name 'tcpmux/+sftp-rush' is compulsory, where the
# plus sign makes sure that 'inetutils-inetd' takes care of
# some necessary protocol handshake. Make sure that the service
# name replacing 'sftp-rush' is not present in '/etc/services'.

# Dual stacked listener
tcpmux stream tcp6 nowait root internal

# Listeners confined to a single address domain.
#
# tcpmux stream tcp4 nowait root internal
# tcpmux stream tcp6only nowait root internal

tcpmux/+sftp-rush stream tcp nowait root /usr/bin/rush-notifier rush-notifier
#
# or
#
# tcpmux/+sftp-rush stream tcp nowait root /usr/sbin/tcpd /usr/bin/rush-notifier

tcpmux/+scp-to stream tcp nowait root /usr/bin/rush-notifier rush-notifier