Files

23 lines
606 B
Groff

.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH am-stop 1 "stop "
.SH NAME
stop \- Stop a background agent (SIGTERM, then SIGKILL after the timeout)
.SH SYNOPSIS
\fBstop\fR [\fB\-\-force\fR] [\fB\-\-timeout\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIAGENT\fR>
.SH DESCRIPTION
Stop a background agent (SIGTERM, then SIGKILL after the timeout)
.SH OPTIONS
.TP
\fB\-\-force\fR
Kill immediately instead of terminating gracefully
.TP
\fB\-\-timeout\fR \fI<SECS>\fR
Grace period in seconds before killing (default: from config, 5s)
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help
.TP
<\fIAGENT\fR>
Agent name, alias, or group:<name>