Improve inetd syntax proposal

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2015-01-21 13:15:16 +01:00
parent 7aa687bad9
commit dfeabd8bae
+3 -3
View File
@@ -45,12 +45,12 @@ Inetd
Simple way of running Internet services on demand, like the old inetd:
inetd SVC [RUNLVL] /path/to/daemon args -- description
inetd PROTO/SERVICE <wait|nowait> [@USER[:GROUP]] /path/to/daemon args
Example:
Examples:
# Inetd services, launched on demand
inetd ssh [2345] /usr/sbin/sshd -i -- SSH Daemon
inetd tcp/ssh nowait [2345] @root:root /usr/sbin/sshd -i
In keeping with the finit tradition, an optional callback can be setup
to each inetd service. When a client connects the finit will call the