This is probably the right solution. I've been meaning to make the pass
configuration configurable using a file anyway.
I wonder if Perl has some facility for re-loading a module that has
already been loaded?
John
On 10/16/2012 09:36 AM, Eitan Adler wrote:
On 16 October 2012 11:31, John Regehr <[email protected]> wrote:
The easy way to do this would be using a signal, but that's only 1 bit of
information. Even so, we could use SIGUSR1 to switch to serial mode and
SIGUSR2 to switch to the default parallel mode for example.
Pipes, named pipes, and other "real" IPC seems kind of complicated for this
task.
Probably looking in a file is the easiest thing.
Perhaps a more general solution could be to use a config file for
options, and respond to SIGHUP to re-read it?