Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Creating a perl daemon

by Zaxo (Archbishop)
on Jul 18, 2004 at 00:53 UTC ( #375307=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    use strict;
    ...
    use Getopt::Std;
    our $opt_d, %config;
    getopt('d');
    
  2. or download this
    use POSIX qw/setuid setsid/;
    
    if ($opt_d) {
    ...
    }
    # Be sure to define sub daemon_init
    # On with the program . . .
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2021-10-25 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?