|
From: Leif M. <le...@ta...> - 2008-03-31 17:10:01
|
Mikael,
The -c command did not used to exist for Unix platforms. I added it
to make the command lines on Windows and UNIX the same. They
now both take all of the same syntax. Windows has more available
commands however.
Windows:
---
Java Service Wrapper Professional Edition 3.3.0
Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved.
http://wrapper.tanukisoftware.org
Usage:
bin\wrapper <command> <configuration file> [configuration properties]
[...]
bin\wrapper <configuration file> [configuration properties] [...]
(<command> implicitly '-c')
bin\wrapper <command>
(<configuration file> implicitly 'wrapper.conf')
bin\wrapper
(<command> implicitly '-c' and <configuration file> 'wrapper.conf')
where <command> can be one of:
-c --console run as a Console application
-t --start starT an NT service
-a --pause pAuse a started NT service
-e --resume rEsume a paused NT service
-p --stop stoP a running NT service
-i --install Install as an NT service
-it --installstart Install and sTart as an NT service
-r --remove Remove as an NT service
-l=<code> --controlcode=<code> send a user controL Code to a running
NT service
-d --dump request a thread Dump
-q --query Query the current status of the service
-qs --querysilent Silently Query the current status of the service
-h --hostid prints a list of Host ids which can be used to license
this host.
-v --version print the wrapper's version information.
-? --help print this help message
<configuration file> is the wrapper.conf to use. Name must be absolute
or relative
to the location of bin\wrapper
[configuration properties] are configuration name-value pairs which
override values
in wrapper.conf. For example:
wrapper.debug=true
---
Linux:
---
Java Service Wrapper Professional Edition 3.3.0
Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved.
http://wrapper.tanukisoftware.org
Usage:
bin/wrapper <command> <configuration file> [configuration properties]
[...]
bin/wrapper <configuration file> [configuration properties] [...]
(<command> implicitly '-c')
bin/wrapper <command>
(<configuration file> implicitly 'wrapper.conf')
bin/wrapper
(<command> implicitly '-c' and <configuration file> 'wrapper.conf')
where <command> can be one of:
-c --console run as a Console application
-h --hostid prints a list of Host ids which can be used to license
this host.
-v --version print the wrapper's version information.
-? --help print this help message
<configuration file> is the wrapper.conf to use. Name must be absolute
or relative
to the location of bin/wrapper
[configuration properties] are configuration name-value pairs which
override values
in wrapper.conf. For example:
wrapper.debug=true
---
Cheers,
Leif
Mikael Ståldal wrote:
> Is there any difference between specifying -c and not specifying any command?
>
> If not, why is there a -c command when that is the only and default command?
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
|