<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>All;<br><br>I'm struggling with figuring out how to migrate some SysVInit scripts to systemd. Specifically, this service launches WebLogic Managed Server (Java) instances Let me describe the process flow of my current service to you:<br><br>-The init service/script launches a Java process called WLST which executes a simple script<br>-This WLST process connects to an already running Java process called the Node Manager and issues a start command for the application server it wishes to start<br>-The Node Manager process executes a shell script as a subprocess. This shell script sets up a bunch of environment variables, etc.<br>-Ultimately the shell script launches a Java process which is a child of the shell script.<br>-When this Java process reports itself as running, the initial WLST Java process exits.<br>-In the end the actual service/process that we started, and want to manage, is actually the GRANDCHILD of a completely separate process from the initial Java process that systemd launched. How, would systemd track that process?<br><br>Thanks in advance,<br>-Les Kimmel<br> </div></body>
</html>