projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added dot files, updated cleantmp.conf and gitignore
[clearscm.git]
/
bin
/
cleantmp.pl
diff --git
a/bin/cleantmp.pl
b/bin/cleantmp.pl
index
79c567a
..
c7b1b19
100755
(executable)
--- a/
bin/cleantmp.pl
+++ b/
bin/cleantmp.pl
@@
-82,7
+82,7
@@
my %opts = (
debug => sub { set_debug },
tmp => File::Spec->tmpdir(),
conf => "$FindBin::Bin/../etc/$script.conf",
debug => sub { set_debug },
tmp => File::Spec->tmpdir(),
conf => "$FindBin::Bin/../etc/$script.conf",
- logpath => '/var/log',
+ logpath => '/var/lo
cal/lo
g',
sleep => 60,
);
sleep => 60,
);
@@
-144,7
+144,6
@@
sub FileCreated {
} # if
} # if
} # if
} # if
-
last;
} # if
} # for
last;
} # if
} # for
@@
-153,6
+152,8
@@
sub FileCreated {
return;
} # FileCreated
return;
} # FileCreated
+$SIG{USR1} = \&FileCreated;
+
## Main
GetOptions (
\%opts,
## Main
GetOptions (
\%opts,