diff options
author | Joerg Rosenkranz <joerg.rosenkranz@gmail.com> | 2005-04-06 13:32:30 +0400 |
---|---|---|
committer | Joerg Rosenkranz <joerg.rosenkranz@gmail.com> | 2005-04-06 13:32:30 +0400 |
commit | d723ccc00f0a17477a3fdadd164a56c3bccaae69 (patch) | |
tree | f4ce38c988a53ed55a35773560a80d69bd44a65b /scripts | |
parent | f7986db4e6ead9a3e622c79a16f761bdadbdea73 (diff) |
Verbose usage message.
svn path=/trunk/mono/; revision=42600
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mono-service.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/mono-service.in b/scripts/mono-service.in index 6cc174c7d3b..5da6021b6ec 100644 --- a/scripts/mono-service.in +++ b/scripts/mono-service.in @@ -11,8 +11,20 @@ done if test x$assembly = x; then echo You must specify at least the assembly name - echo Usage is: - echo mono-service [-d:DIRECTORY] [-l:LOCKFILE] [-n:NAME] [-m:LOGNAME] service.exe + echo + echo 'Usage is: mono-service [options] service' + echo + echo ' -d:<directory> Working directory' + echo ' -l:<lock file> Lock file (default is /tmp/<service>.log)' + echo ' -m:<syslog name> Name to show in syslog' + echo ' -n:<service name> Name of service to start (default is first defined)' + echo + echo Controlling the service: + echo + echo ' kill -USR1 `cat <lock file>` Pausing service' + echo ' kill -USR2 `cat <lock file>` Continuing service' + echo ' kill `cat <lock file>` Ending service' + echo exit 1 fi |