/etc/init.d script tutorial
Anyone know of any good tutorials for the writing of init.d scripts in Ubuntu/Debian. I have had a look around and there doesn't seem to be much around. All I require is a basic stop/start script with a pid file.
Try looking at some of the existing scripts. All of them should have start/stop functions in them. To find one which uses a pid file may be a little more difficult, but you can cd into the /etc/init.d directory and run the command:
grep -nrH pid *
to find out which ones have them.
|All times are GMT -5. The time now is 11:47 AM.|