Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2019 16:55:31 -0400
From:      Jim Trigg <jktrigg@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   rc script problems
Message-ID:  <67a15aa3-d506-a2ba-137d-7d8a21bdcd3f@gmail.com>

next in thread | raw e-mail | index | archive | help
How do I write an rc script to preserve the pid of a child process? The 
"port" I'm working with (technically a commercial package) has a startup 
script that launches a java process. I had written a simple rc wrapper 
around the script but have found it doesn't support stop because the pid 
captured is the script's pid rather than the java process's pid.

Thanks,
Jim Trigg







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67a15aa3-d506-a2ba-137d-7d8a21bdcd3f>