In addition to what moritz said: A common way to pass data to a daemon is to use a config file. If you need to update the file while the daemon is running, a common practice is to send the daemon a SIGHUP. From the Perl side, this can be trapped by
$SIG{HUP}=sub { .... };
In reply to Re: How to pass arguments to a daemon
by rovf
in thread How to pass arguments to a daemon
by srinikar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |