debug => sub { set_debug },
tmp => File::Spec->tmpdir(),
conf => "$FindBin::Bin/../etc/$script.conf",
- logpath => '/var/log',
+ logpath => '/var/local/log',
sleep => 60,
);
} # if
} # if
-
last;
} # if
} # for
return;
} # FileCreated
+$SIG{USR1} = \&FileCreated;
+
## Main
GetOptions (
\%opts,