Globally for all events: wrapper.event.default.command.block.action property, or
For a specific event: wrapper.event.<event_name>.command.block.action property.
The "<event_name>" component of the property name can be
either the keyword "default",
or one of the Event Types.
By setting the default property,
all Event Types which are not set explicitly will take on that value.
Possible actions are:
will tell the Wrapper to stop blocking and continue.
The command process will be allowed to continue on its own.
will tell the Wrapper to forcibly kill the command immediately and then continue.
will tell the Wrapper to forcibly kill the command immediately
and then ask the current JVM restart if applicable.
will tell the Wrapper to forcibly kill the command immediately and then shutdown the Wrapper.
Please see the Event Commands documentation for more examples
and an explanation of how the various event properties can be used together.
Reference: Event Commands
The Java Service Wrapper provides a full set of configuration properties that allows you to make the Wrapper meet your exact needs.
Please take a look at the documentation for the individual properties to see all of the possibilities beyond the examples shown above.