~ubuntu-branches/debian/experimental/sysvinit/experimental

« back to all changes in this revision

Viewing changes to startpar/startpar-upstart-inject.8

  • Committer: Package Import Robot
  • Author(s): Roger Leigh, Roger Leigh, Michael Stapelberg
  • Date: 2012-07-28 20:09:11 UTC
  • mfrom: (9.1.47 sid)
  • Revision ID: package-import@ubuntu.com-20120728200911-1xa3ydm5a46lyrjd
Tags: 2.88dsf-41+jessie1
[ Roger Leigh ]
* initscripts:
  - Move /etc/nologin and /var/lib/initscripts/nologin to
    /run/nologin.  This means that nologin is always created on
    a writable, available filesystem.  Closes: #660862.
  - Remove code to generate /etc/mtab.  /etc/mtab is now always a
    symbolic link to /proc/mounts.  Closes: #630723.
  - Remove incorrect use of break in case blocks in vars.sh.  Thanks
    to Raphaël Hertzog for this patch.  Closes: #701031.
  - /etc/network/if-up.d/mountnfs: Skip lo if already configured.
    Closes: #705052.  Thanks to Timo Weingärtner.
* sysvinit:
  - Document length limit of 127 in inittab process field.  Thanks
    to Johannes Truschnigg.  Closes: #693960.
* sysv-rc:
  - Fix typo in invoke-rc.d(8).  Closes: #683804.  Thanks to
    Martin-Éric Racine.

[ Michael Stapelberg ]
* systemd: update check to look for /run/systemd/system.
  Closes: #703571
* sysv-rc:
  - Add systemd support to update-rc.d(8) and invoke-rc.d(8).
    Closes: #683084.
  - service(8): use systemctl on machines that run systemd.
    Closes: #704923

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH startpar-upstart-inject 8 2012-06-05 
 
2
.SH NAME
 
3
startpar-upstart-inject \- notify startpar of started/stopped upstart jobs
 
4
.
 
5
.SH SYNOPSIS
 
6
.B startpar-upstart-inject
 
7
.I job-name
 
8
.I instance
 
9
.I [started|stopped]
 
10
.
 
11
.SH DESCRIPTION
 
12
.B startpar-upstart-inject
 
13
is a helper command for notifying
 
14
.B startpar
 
15
whenever an upstart job has started or stopped.  It allows
 
16
.B startpar
 
17
to run in a manner compatible with upstart\-based systems, where
 
18
many/most jobs are started directly by upstart and not by
 
19
.BR startpar .
 
20
In this scenario,
 
21
.B startpar
 
22
must be notified whenever an upstart job has started so that it can run
 
23
the init scripts for services that declare a dependency on that job.
 
24
.
 
25
.SH OPTIONS
 
26
The
 
27
.B startpar-upstart-inject
 
28
command takes three arguments, all of which are mandatory.
 
29
.TP
 
30
.I job-name
 
31
The name of the
 
32
.B upstart
 
33
job.  Normally this will match the name of a script in the
 
34
.I /etc/init.d
 
35
directory.
 
36
.
 
37
.TP
 
38
.I instance
 
39
The instance of the
 
40
.B upstart
 
41
job, if any; otherwise, an empty string.  This is currently ignored by
 
42
.BR startpar ,
 
43
which has no concept of service instances.
 
44
.
 
45
.TP
 
46
.I [started|stopped]
 
47
The single word
 
48
.I started
 
49
or
 
50
.I stopped
 
51
which indicates whether the listed job has been started or stopped.
 
52
.
 
53
.SH FILES
 
54
.TP
 
55
.I /etc/init/startpar-bridge.conf
 
56
upstart job which invokes
 
57
.B startpar-upstart-inject
 
58
each time another upstart job starts
 
59
.
 
60
.SH SEE ALSO
 
61
.BR init (8)
 
62
.BR insserv (8)
 
63
.BR startpar (8)
 
64
.BR upstart-events (7)
 
65
.
 
66
.SH AUTHOR
 
67
Written by Steve Langasek <steve.langasek@canonical.com>
 
68
.
 
69
.SH COPYRIGHT
 
70
Copyright \(co 2012 Canonical Ltd.
 
71
.br
 
72
This is free software; see the source for copying conditions.  There is NO
 
73
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.