We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
| Weblog: |
|
Advertising Rendezvous services in Linux
|
| Subject: |
|
Stopping the service |
| Date: |
|
2003-05-14 00:52:21 |
| From: |
|
anonymous2
|
Response to: Stopping the service
|
|
The proper way to write an init script is to use the init.d functions in /etc/rc.d/init.d/functions by calling them at the start of the script. See other init scripts for an example.
These functions handle all pid details for you, and more. Find more info on them at:
http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/iniscrptfunc.html
Steven Boger
sboger@hotmail.com
|