Files

26 lines
650 B
Groff

.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH am-watch 1 "watch "
.SH NAME
watch \- Supervise an agent and optionally restart it on crash
.SH SYNOPSIS
\fBwatch\fR [\fB\-\-restart\fR] [\fB\-\-notify\fR] [\fB\-\-interval\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIAGENT\fR>
.SH DESCRIPTION
Supervise an agent and optionally restart it on crash
.SH OPTIONS
.TP
\fB\-\-restart\fR
Restart the agent automatically when it dies (with backoff)
.TP
\fB\-\-notify\fR
Desktop notification on every restart
.TP
\fB\-\-interval\fR \fI<SECS>\fR [default: 5]
Check interval in seconds (default: 5)
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help
.TP
<\fIAGENT\fR>
Agent name or alias