Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: process run in background (daemonize)

by tye (Sage)
on Jul 27, 2016 at 20:10 UTC ( #1168679=note: print w/replies, xml ) Need Help??

in reply to process run in background

This is usually solved by having the script "daemonize" itself. It only requires a few steps and isn't really that complicated, but you might want to at least take a few minutes to examine some of the pre-rolled implementations, several of which can be found with the simple search: daemonize. (At my current job, we already had that particular bit of code already pre-rolled locally by somebody who predated my employment significantly, so I made significant improvements to that version rather than evaluating the ones on CPAN.)

- tye        

  • Comment on Re: process run in background (daemonize)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-09-30 04:15 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (125 votes). Check out past polls.