<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="moz-text-html" lang="x-unicode"> Hi Tobias,<br>
<br>
OS-specific means are used to manage services. You can find
details in <a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8275062">https://bugs.openjdk.org/browse/JDK-8275062</a>
CSR<br>
<br>
- Alexey<br>
<br>
<div class="moz-cite-prefix">On 10/21/2022 2:51 PM, Tobias
Oelgarte wrote:<br>
</div>
<blockquote type="cite" cite="mid:71d534b6-e387-0ea0-78ae-6a2d5d86941b@gmail.com">
<p>I read the documentation for jpackage and found the <a id="option-launcher-as-service"><code>--launcher-as-service
</code></a>option. The documentation states: "Request to
create an installer that will register the main application
launcher as a background service-type application." But that
is everything i could find.<br>
</p>
<p>How is this supposed to work? From my understanding each
service provides a mechanism to be started and stopped. <br>
</p>
<p>I assume that the starting mechanism is the typical main(...)
method and not some implementation of a "Service" interface. <br>
</p>
<p>But how does the stopping work and how is a service supposed
to do an orderly shutdown?<br>
</p>
</blockquote>
<br>
</div>
</body>
</html>