dbus-event(7)

dbus-event7

Event signalling that a dbus signal has been emitted

Usage

dbus [BUS=BUS_NAME] SIGNAL=SIGNAL INTERFACE=INTERFACE OBJPATH=PATH SENDER=SENDER DESTINATION=DESTINATION ARG0=VALUE ARGN=VALUE

Overview

The dbus event is generated by the upstart-dbus-bridge(8) daemon when a D-Bus signal is emitted whose details match the dbus event condition and environment specified in a job's start on or stop on stanza is modified.

Arguments that are simple types (string, int, etc.) are translated into strings and placed as parameters on the event with the pattern ARG and the number representing the placement in the event prototype. Parameters that are not a simple type are skipped, with the number being incremented the same.

The BUS parameter is optional and only set if the upstart-dbus-bridge(8) daemon is started with the --bus-name parameter. The value of BUS will be the same as the value passed as the parameter.

Examples

start on dbus SIGNAL=NameAcquired INTERFACE=org.freedesktop.DBus OBJPATH=/org/freedesktop/DBus SENDER=org.freedesktop.DBus ARG0=com.mycorp.foo

Start job when a particular NameAcquired D-Bus signal is received.

Author

Written by James Hunt <[email protected]>

Bugs

Report bugs at <https://launchpad.net/upstart/+bugs>

From upstart 1.11-5 in Debian 8 (Jessie). Parsed by carta from the page's man source.