rc script problems

Jim Trigg jktrigg at gmail.com
Sun Mar 31 20:55:34 UTC 2019


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






More information about the freebsd-ports mailing list