The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Daemon::DaemonizeLight - New variant of Daemon::Daemonize based on nohup unix command

SYNOPSIS

use strict; use Daemon::DaemonizeLight 'daemonize';

daemonize();

... something useful code

DESCRIPTION

This module provides create simple daemon from your perl script.

Only add the daemonize procedure at the beginning of your script.

It provide 'start' 'stop' 'restart' arguments for you script in command string.

daemonize(%params)

%options - only one parameter yet tmp=>'/some/tmp/dir', if not exists then tmp dir takes from directory where your script placed.

SEE ALSO

Daemon::Daemonize

AUTHOR

Bulichev Evgeniy, <bes@cpan.org>.

COPYRIGHT

  Copyright (c) 2017 Bulichev Evgeniy.  All rights reserved.
  This module is free software; you can redistribute it and/or modify it
  under the same terms as Perl itself.