SliTaz Man Pages

Community Doc Forum Pro Shop Bugs Hg Cook

EVENTDCTL

Section: eventd Manual (1)
Updated: 02/26/2016
Index Return to Main Contents

NAME

eventdctl - control utility for eventd

SYNOPSIS

eventdctl [OPTIONS...] {command} [command arguments...]

DESCRIPTION

eventdctl

is the control utility for eventd(1).

OPTIONS

-s, --socket=socket

eventd control socket

-a, --auto-spawn

Spawn eventd if needed

It will pass the --private-socket option to eventd with the socket specified to the eventdctl --socket option.

-V, --version

Print version

-h, --help

Show help options

COMMANDS

version

Query the eventd version.

start

Start eventd if needed.

It can take the option --argv0 which means that the first argument is the command to call. If not specified, eventdctl will search for eventd in PATH.

All the remaining arguments are passed to eventd.

stop

Quit eventd.

reload

Make eventd reload its configuration.

pause

Pause eventd, events will not be dispatched until resume.

resume

Resume eventd, events are dispatched again. Waiting events are dispatched right after resume.

flags sub-command

Control the eventd flags (see eventd.conf(5))

add flag

Add flag to eventd.

remove flag

Remove flag from eventd.

reset

Reset eventd flags.

list»

Query current eventd flags.

These commands are for the relay plugin, listed here as it is considered a core plugin.

relay connect server

Tell the plugin to connect to the specified server.

server may be any server configured as a relay (see eventd.conf(5)).

relay disconnect server

Tell the plugin to disconnect from the specified server.

server may be any server configured as a relay (see eventd.conf(5)).

EXIT STATUS

0

The command was successful.

With the start command, it will return 0 if eventd is already started.

1

Failed to parse command line paramaters.

10

Impossible to connect to eventd. May be returned if no eventd is started or if our started eventd exited early.

11

eventd invocation faild. Either with the start command, or the --auto-spawn option.

20

Command error. No command passed, unknown command or missing command argument.

21

Plugin error. No plugin or no control command support in plugin.

30

Plugin command error. The plugin command is unknown, or miss an argument.

31

Plugin command execution error. The command could not succeed, see eventdctl output for details.

SEE ALSO

eventd core man pages

eventd(1)

eventd daemon command-line options

eventdctl(1)

eventdctl (control tool) command-line options

eventd.conf(5)

eventd configuration

Contains information about all the event configuration

Plugins installed with eventd will use the same scheme: eventd-plugin-name for their additional eventd command-line options, eventdctl-plugin-name for their additional eventdctl command-line options, eventd-plugin-name.conf for their configuration,

Plugins man pages

exec plugin: eventd-exec.conf(5)

file plugin: eventd-file.conf(5)

nd plugin: eventdctl-nd(1) eventd-nd.conf(5)

notify plugin: eventd-notify.conf(5)

AUTHOR

Quentin Glidic <sardemff7@eventd.org>

Developer

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
COMMANDS
EXIT STATUS
SEE ALSO
AUTHOR