Scroll to navigation

FEDMSG-TRIGGER(1) General Commands Manual FEDMSG-TRIGGER(1)

NAME

fedmsg-trigger - run a command when messages arrive on the fedmsg bug

SYNOPSIS

fedmsg-trigger [--topic TOPIC] [--exclude REGEXP] [--include REGEXP] --command COMMAND [<common fedmsg options>]

fedmsg-trigger [-h|--help]

DESCRIPTION

fedmsg-trigger runs the command COMMAND every time a message matching the filtering options is received on the fedmsg bus. It passes the contents of the received message on the standard input of the command.

OPTIONS

Print an help message and exit
Command to run when a message matches our criteria.

FILTERING

The topic pattern to listen for. Everything by default.
Only show topics that do not match the supplied regexp.
Only show topics that match the supplied regexp.

COMMON FEDMSG OPTIONS

Number of io threads for 0mq to use
Prefix for the topic of each message sent.
Number of seconds to sleep after initializing.
Config file to use.
Simply print out the configuration and exit. No action taken.
Timeout in seconds for any blocking zmq operations.
Limit on the number of messages in the queue before blocking.
Number of milliseconds to wait before timing out connections.

AUTHORS

Wrote the fedmsg software.
Wrote this manpage for the Debian system.

COPYRIGHT

Copyright © 2014 Nicolas Dandrimont

This manual page was written for the Debian system (and may be used by others).

You can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

On Debian systems, a copy of the license can be found in the /usr/share/common-licenses/LGPL-2.1 file.