mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Improve inetd syntax proposal
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
7aa687bad9
commit
dfeabd8bae
1 file changed
+3
-3
@@ -45,12 +45,12 @@ Inetd
|
|||||||
|
|
||||||
Simple way of running Internet services on demand, like the old 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 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
|
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
|
to each inetd service. When a client connects the finit will call the
|
||||||
|
|||||||
Reference in new issue
Block a user