diff options
author | Miguel de Icaza <miguel@gnome.org> | 2005-04-06 18:02:14 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2005-04-06 18:02:14 +0400 |
commit | 14121e191e4fcc6ab366d1135a421de0f1b3207c (patch) | |
tree | 739138ae0236537f1823135453d171d17d0016be /man | |
parent | c1f9befaedf056500ffbd50a163c6865353750e5 (diff) |
Add man page
svn path=/trunk/mono/; revision=42605
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 2 | ||||
-rw-r--r-- | man/mono-service.1 | 79 | ||||
-rw-r--r-- | man/mono.1 | 1 |
3 files changed, 81 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 8d3101b4532..6ebc1603658 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,6 +1,6 @@ man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1 oldmono.1 ilasm.1 \ cert2spc.1 cilc.1 genxs.1 wsdl.1 disco.1 soapsuds.1 makecert.1 \ chktrust.1 setreg.1 sn.1 secutil.1 signcode.1 certmgr.1 monop.1 xsd.1 gacutil.1 \ - macpack.1 mkbundle.1 dtd2xsd.1 permview.1 prj2make.1 + macpack.1 mkbundle.1 dtd2xsd.1 permview.1 prj2make.1 mono-service.1 EXTRA_DIST = $(man_MANS) diff --git a/man/mono-service.1 b/man/mono-service.1 new file mode 100644 index 00000000000..07abeab0dc0 --- /dev/null +++ b/man/mono-service.1 @@ -0,0 +1,79 @@ +.\" +.\" mono-service manual page. +.\" (C) 2005 Novell, Inc. +.\" Author: +.\" Miguel de Icaza (miguel@gnu.org) +.\" +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.TH Mono "Mono 1.0" +.SH NAME +mono-service \- Mono ServiceProcess host +.SH SYNOPSIS +.PP +.B mono-service [options] program.exe +.SH DESCRIPTION +The \fImono-service\fP is a host to run services built with the +ServiceProcess assembly. +.PP +Services can be paused by sending the SIGUSR1 signal to the process, +and execution can be resumed by sending the SIGUSR2 signal. The +service can be cleanly shutdown by sending the SIGTERM signal to the +process. +.PP +The following options can be used to control the service: +.TP +.I "-d:DIRECTORY" +Use this option to specify the working directory for the service. The +default is the current directory. +.TP +.I "-l:LOCKFILE" +Specifies the file to use for locking, the default is a filename +constructed in /tmp based on the name of the program that hosts the +service. +.TP +.I "-m:MESSAGE" +Name to show in the syslog. +.TP +.I "-n:NAME" +Use this to specify the service to be launched (if the program +contains more than one service). The default is to run the first +defined service. +.SH CONTROL +You can control the service by sending signals to the process, you can +use the following commands: +.TP +Pausing service: +.nf + kill -USR1 `cat <lock file>` +.fi +.TP +Resuming service: +.nf + kill -USR2 `cat <lock file>` +.fi +.TP +Stopping the service: +.nf + kill `cat <lock file>` +.fi +.SH EXAMPLES +Start the MyService.exe assembly, with a lock in /root/service-lock: +.nf + + mono-service -l:/root/service-lock MyService.exe + +.fi +.SH DEBUGGING +Messages produced by the service are logged on syslog. +.SH MAILING LISTS +Visit http://lists.ximian.com/mailman/listinfo/mono-list for details. +.SH WEB SITE +Visit: http://www.mono-project.com for details +.SH SEE ALSO +.BR mono(1) +.PP +.BR N:System.ServiceProcess + diff --git a/man/mono.1 b/man/mono.1 index 0401a7b5c3b..c6f6e088857 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -1,6 +1,7 @@ .\" .\" mono manual page. .\" (C) 2003 Ximian, Inc. +.\" (C) 2004-2005 Novell, Inc. .\" Author: .\" Miguel de Icaza (miguel@gnu.org) .\" |