Generally the init-scripts are simply a script which will start stop restart and do any invoke's of the actual program so you never touch the binary.
So this means the init-script will get/read the pid and then touch a file with the pid etc. Just take a look at a few init-scripts each os has there own way of doing them and they are very standardised.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.