I found that the init script didn't always get the PID because the process hadn't finished forking yet, which made init think it failed to start even though it did actually start. It also prevented the script from being able to stop the service since it had no record of the PID.
I found that the init script didn't always get the PID because the process hadn't finished forking yet, which made init think it failed to start even though it did actually start. It also prevented the script from being able to stop the service since it had no record of the PID.