X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=man%2Famservice.8;h=f68ce63540ca50cf3e713cf6dab8a07642b7a807;hb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;hp=e8650f12d62679194709d1a36a854925594aa6bf;hpb=011a59f5a54864108a16af570a6b287410597cc2;p=debian%2Famanda diff --git a/man/amservice.8 b/man/amservice.8 index e8650f1..f68ce63 100644 --- a/man/amservice.8 +++ b/man/amservice.8 @@ -1,13 +1,22 @@ '\" t .\" Title: amservice .\" Author: Jean-Louis Martineau -.\" Generator: DocBook XSL Stylesheets vsnapshot_8273 -.\" Date: 12/14/2010 +.\" Generator: DocBook XSL Stylesheets v1.76.1 +.\" Date: 07/25/2012 .\" Manual: System Administration Commands -.\" Source: Amanda 3.2.1 +.\" Source: Amanda 3.3.2 .\" Language: English .\" -.TH "AMSERVICE" "8" "12/14/2010" "Amanda 3\&.2\&.1" "System Administration Commands" +.TH "AMSERVICE" "8" "07/25/2012" "Amanda 3\&.3\&.2" "System Administration Commands" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- @@ -22,7 +31,7 @@ amservice \- run an amanda service on a client .SH "SYNOPSIS" .HP \w'\fBamservice\fR\ 'u -\fBamservice\fR [\-f\ \fIinput_file\fR] [\fB\-o\fR\ \fIconfigoption\fR...] \fIhostname\fR \fIauth\fR \fIservice\fR +\fBamservice\fR [\-f\ \fIinput_file\fR\ [\-s]] [\fB\-o\fR\ \fIconfigoption\fR...] \fIhostname\fR \fIauth\fR \fIservice\fR .SH "DESCRIPTION" .PP \fBAmservice\fR @@ -53,6 +62,11 @@ The amanda service to execute on the client\&. One of noop, selfcheck or sendsiz Use the file input_file instead of stdin to read the REQ packet from\&. .RE .PP +\fB\-s\fR +.RS 4 +Redirect the first connected stream to stdin/stdout\&. The \-f argument is required for the REQ packet, the REP packet is not printed on stdout\&. +.RE +.PP \fB\-o \fR\fB\fIconfigoption\fR\fR .RS 4 See the "CONFIGURATION OVERRIDE" section in @@ -62,7 +76,8 @@ See the "CONFIGURATION OVERRIDE" section in .PP The noop service is easy to execute because it does not require a REQ packet: .nf -amservice hostname bsdtcp noop < /dev/null.fi +amservice hostname bsdtcp noop < /dev/null +.fi .PP The example executes the noop service on the client using bsdtcp auth\&. This is useful for debugging connection problems\&. It print an OPTIONS line upon success\&. .PP @@ -77,7 +92,7 @@ The exit code of \fBamservice\fR is one of: .PP As \fBamservice\fR -doesn\'t parse the REP packet, it can only detect failures in executing amandad on the client\&. +doesn\*(Aqt parse the REP packet, it can only detect failures in executing amandad on the client\&. \fBamservice\fR can exit with value 0 even if the user is not authorized to execute the service\&. An error message will be printed\&. .SH "SEE ALSO"