58 lines
1.0 KiB
Groff
58 lines
1.0 KiB
Groff
.TH SBRLCTRL 1
|
|
.SH NAME
|
|
sbrlctrl \- control the Subrelay daemon
|
|
.SH SYNOPSIS
|
|
.B sbrlctrl
|
|
.RB [ \-s " " path ]
|
|
.I command
|
|
.RI [ args ...]
|
|
.br
|
|
.B sbrlctrl
|
|
.BR \-h
|
|
.SH DESCRIPTION
|
|
.B sbrlctrl
|
|
sends a command to the Subrelay daemon over its local UNIX socket and prints
|
|
the daemon's response.
|
|
.PP
|
|
The
|
|
.I command
|
|
must be one of:
|
|
.TP
|
|
.B ADD
|
|
.I email
|
|
Subscribe the email address.
|
|
.TP
|
|
.B DEL
|
|
.I email
|
|
Unsubscribe the email address.
|
|
.TP
|
|
.B LIST
|
|
List current subscribers.
|
|
.TP
|
|
.B STATUS
|
|
Show the daemon's operational status.
|
|
.SH OPTIONS
|
|
.TP
|
|
.BR \-s ", " \-\-socket " " path
|
|
Connect to the daemon using the UNIX socket at
|
|
.IR path .
|
|
If omitted,
|
|
.B sbrlctrl
|
|
uses
|
|
.IR /var/run/subrelay/subrelayd.sock .
|
|
.TP
|
|
.BR \-h ", " \-\-help
|
|
Print help and exit.
|
|
.SH EXAMPLES
|
|
.TP
|
|
.B sbrlctrl ADD person@example.com
|
|
Subscribe an address using the default socket.
|
|
.TP
|
|
.B sbrlctrl --socket /run/subrelay.sock LIST
|
|
List subscribers using a specified socket.
|
|
.SH SEE ALSO
|
|
.BR subrelayd (8),
|
|
.BR subrelay.conf (5)
|
|
.SH AUTHORS
|
|
Written by the Subrelay authors.
|