~xnox/upstart/upstart-async-run-dead-code

« back to all changes in this revision

Viewing changes to extra/man/upstart-socket-bridge.8

  • Committer: James Hunt
  • Date: 2011-06-06 17:05:11 UTC
  • mfrom: (1245.3.13 upstart-bridges)
  • Revision ID: james.hunt@ubuntu.com-20110606170511-h7cm82b47vsv2y0o
Merge of lp:~jamesodhunt/upstart/upstream-udev+socket-bridges.

* Makefile.am: Added extra directory.
* New files:
  - extra/Makefile.am
  - extra/conf/upstart-socket-bridge.conf
  - extra/conf/upstart-udev-bridge.conf
  - extra/man/socket-event.7
  - extra/man/upstart-socket-bridge.8
  - extra/man/upstart-udev-bridge.8
  - extra/upstart-socket-bridge.c
  - extra/upstart-udev-bridge.c
* configure.ac:
  - Check for udev (for upstart-udev-bridge).
  - Add extra/Makefile to AC_CONFIG_FILES.
* dbus/com.ubuntu.Upstart.xml: Add EmitEventWithFile method.
* init/control.c:
  - control_emit_event(): Now a wrapper for control_emit_event_with_file.
  - control_emit_event_with_file(): New function that operates on an fd.
* init/control.h: Prototype for control_emit_event_with_file().
* init/event.c:
  - event_new(): Initialize event fd.
  - event_pending_handle_jobs(): Now calls event_operator_fds().
* init/event.c: Add fd to Event struct.
* init/event_operator.c: event_operator_fds(): New function.
* init/event_operator.h: Prototype for event_operator_fds().
* init/job.c: job_new(): Initialize fd members.
* init/job.h: Add fds and num_fds to Job struct.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH upstart-socket-bridge 8 2011-03-08 upstart
 
2
.\"
 
3
.SH NAME
 
4
upstart-socket-bridge \- Bridge between Upstart and sockets
 
5
.\"
 
6
.SH SYNOPSIS
 
7
.B upstart-socket-bridge
 
8
.RI [ OPTIONS ]...
 
9
.\"
 
10
.SH DESCRIPTION
 
11
The
 
12
.B upstart-socket-bridge
 
13
queries the Upstart 
 
14
.BR init (8)
 
15
daemon for all job configurations which
 
16
.B start on
 
17
or
 
18
.B stop on
 
19
the socket event. It then waits for an incoming connection on each
 
20
specified
 
21
.BR socket (7)
 
22
and when detected emits the socket event (\fBsocket\-event\fP (7)),
 
23
setting a number of environment variables for the job to query.
 
24
.\"
 
25
.SH AUTHOR
 
26
Written by Scott James Remnant
 
27
.RB < scott@netsplit.com >
 
28
 
 
29
Manual page written by James Hunt
 
30
.RB < james.hunt@ubuntu.com >
 
31
.\"
 
32
.SH BUGS
 
33
Report bugs at 
 
34
.RB < https://launchpad.net/upstart/+bugs >
 
35
.\"
 
36
.SH COPYRIGHT
 
37
Copyright \(co 2011 Canonical Ltd.
 
38
.PP
 
39
This is free software; see the source for copying conditions.  There is NO
 
40
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
41
.\"
 
42
.SH SEE ALSO
 
43
.BR init (5)
 
44
.BR init (8)
 
45
.BR socket (2)
 
46
.BR socket (7)
 
47
.BR socket\-event (7)