1
.TH socket\-event 8 2011-03-08 upstart
4
socket \- event signalling that a socket connection has been made
20
event is generated by the
21
.BR upstart\-socket\-bridge (8)
22
daemon when a socket connection is made whose details match the
23
socket event condition and environment specified in a jobs
29
When an incoming connection is detected, the file descriptor
30
representing the socket is passed to the job in question to allow it to
32
the connection. Additionally, the environment variable
34
will contain the name of the event ("socket") and the environment
37
will contain the number of the file descriptor corresponding to the
43
Start web server when first client connects from localhost:
47
start on socket PROTO=inet PORT=80 ADDR=127.0.0.1
56
start on socket PROTO=unix PATH=/var/run/.s.pgsql.1234
66
start on socket PROTO=unix PATH=@/at/upstart/example
71
Written by Scott James Remnant
72
.RB < scott@netsplit.com >
74
Manual page written by James Hunt
75
.RB < james.hunt@ubuntu.com >
79
.RB < https://launchpad.net/upstart/+bugs >
82
Copyright \(co 2011 Canonical Ltd.
84
This is free software; see the source for copying conditions. There is NO
85
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
92
.BR upstart\-socket\-bridge (8)