startpar-upstart-inject - notify startpar of started/stopped upstart jobs
startpar-upstart-inject job-name instance
is a helper command for notifying startpar
whenever an upstart job has started or stopped. It allows startpar
run in a manner compatible with upstart-based systems, where many/most jobs
are started directly by upstart and not by startpar
. In this scenario,
must be notified whenever an upstart job has started so that
it can run the init scripts for services that declare a dependency on that
command takes three arguments, all of which
- The name of the upstart job. Normally this will
match the name of a script in the /etc/init.d directory.
- The instance of the upstart job, if any; otherwise,
an empty string. This is currently ignored by startpar, which has
no concept of service instances.
- The single word started or stopped which
indicates whether the listed job has been started or stopped.
- upstart job which invokes startpar-upstart-inject
each time another upstart job starts
Written by Steve Langasek <email@example.com>
Copyright © 2012 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR