in reply to how to make a demon in perl?
Having the script fork itself, is one solution. Creating a startup script that calls your script in the background, with an '&', is another. There are probably a lot of simple startup scripts in your /etc/rc.d/* already, check them out. One note though: Linux, and RedHat in particular, uses a shell function 'daemon' instead of running the binary directly with an '&'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: you to make a demon in perl
by Sihal (Pilgrim) on Oct 01, 2002 at 11:49 UTC |