$ sudo bin/testwrapper remove
[sudo] password for tanuki:
Stopping Test Wrapper Sample Application...
Stopped Test Wrapper Sample Application.
Detected Ubuntu:
Removing service testwrapper from current directory /home/tanuki/wrapper/bin
Removing any system startup links for /etc/init.d/testwrapper ...
/etc/rc0.d/K20testwrapper
/etc/rc1.d/K20testwrapper
/etc/rc2.d/S20testwrapper
/etc/rc3.d/S20testwrapper
/etc/rc4.d/S20testwrapper
/etc/rc5.d/S20testwrapper
/etc/rc6.d/K20testwrapper
Java Service Wrapperから提供されているスクリプトを使う代わりに、
直接、Wrapperを起動することを選ぶこともできます。
もし、何もパラメーターがない状態で
「wrapper」ファイルを実行すると、
以下のように、使い方の出力が表示されます。
/usr/lib/myapp/bin/wrapper
Wrapper (Version 3.n.n) http://wrapper.tanukisoftware.org
Usage:
wrapper <command> <configuration file> [configuration properties] [...]
wrapper <configuration file> [configuration properties] [...]
(<command> implicitly '-c')
wrapper <command>
(<configuration file> implicitly 'wrapper.conf')
wrapper
(<command> implicitly '-c' and <configuration file> 'wrapper.conf')
where <command> can be one of:
-c --console run as a Console application
-? --help print this help message
<configuration file> is the wrapper.conf to use. Name must be absolute or relative
to the location of wrapper
[configuration properties] are configuration name-value pairs which override values
in wrapper.conf. For example:
wrapper.debug=TRUE