|
From: Maxime <ma...@ta...> - 2017-01-11 06:27:32
|
Alexey, Thank you for your email. The script currently doesn't support the actions PAUSE and RESUME, but you can trigger these actions from the command file. https://wrapper.tanukisoftware.com/doc/english/prop-commandfile.html Note that you should set wrapper.pausable to TRUE. There are two different methods to pause your application. In the first method, the Wrapper requests the JVM to shutdown until the service is resumed or stopped. In the second method, the Wrapper will send a service control event to the JVM which can be handled in your code to put the Application into a paused state. This can be controlled with the wrapper.pausable.stop_jvm property. Please let me know if you have any questions. Regards, Maxime On Wed, Jan 11, 2017 at 3:25 AM, Alexey Shetinin <av...@gm...> wrote: > I wonder if wrapper really support pause/resume commands on linux platform > Currently, app (neither wrapper, according to wrapper log files) dont > receive anything on pause or resume service commands, and according to > launch script it also does nothing: > > > pause() { > eval echo `gettext 'Pausing $APP_LONG_NAME.'` > } > > resume() { > eval echo `gettext 'Resuming $APP_LONG_NAME.'` > } > > > -- > > avs > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |