Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: daemonize a perl script on redhat linux 7.3

by Ryszard (Priest)
on Jul 31, 2002 at 12:41 UTC ( [id://186482]=note: print w/replies, xml ) Need Help??


in reply to daemonize a perl script on redhat linux 7.3

Am I missing something when i say run it using init.d ?

Replies are listed 'Best First'.
Re: Re: daemonize a perl script on redhat linux 7.3
by peschkaj (Pilgrim) on Jul 31, 2002 at 14:18 UTC
    Running it from init.d won't daemonize it. It will just execute the program. You need to make sure the process will piddle about forever waiting for input/whatever. Hence disassociating it from the terminal and using setsid().

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://186482]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-29 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found