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 elwarren (Priest)
on Jul 31, 2002 at 19:20 UTC ( [id://186566]=note: print w/replies, xml ) Need Help??


in reply to daemonize a perl script on redhat linux 7.3

You could just run it with the nohup command if you're on *nix system. This basically wraps whatever program you launch and catches signals sent to it, keeping it from closing when you logout of your session. All output will be logged to a file named nohup.out in the dir you started from.
nohup mp3server.pl &

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-25 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found