summaryrefslogtreecommitdiff
path: root/pingd
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-07-06 01:31:39 +0000
committerPeter Palfrader <peter@palfrader.org>2002-07-06 01:31:39 +0000
commit35c85d14557e95e32546eedcaac7e39839073ebd (patch)
tree653920689a5da58945d1081a6d751c170b20114c /pingd
parent93280fea38fe311792758ac25aff1dce1e43e884 (diff)
Build pgp keyrings
Diffstat (limited to 'pingd')
-rwxr-xr-xpingd7
1 files changed, 4 insertions, 3 deletions
diff --git a/pingd b/pingd
index 8023f0b..dac0562 100755
--- a/pingd
+++ b/pingd
@@ -1,7 +1,7 @@
#!/usr/bin/perl -wT
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: pingd,v 1.17 2002/07/06 00:50:27 weasel Exp $
+# $Id: pingd,v 1.18 2002/07/06 01:31:39 weasel Exp $
#
=pod
@@ -341,7 +341,8 @@ sub daemon_run() {
$scheduler->add('processmail' , Echolot::Config::get()->{'processmail'} , 0, \&Echolot::Mailin::process );
$scheduler->add('ping' , Echolot::Config::get()->{'pinger_interval'} , 0, \&Echolot::Pinger::send_pings );
- $scheduler->add('buildstats' , Echolot::Config::get()->{'buildstats'} , 0, \&Echolot::Stats::build );
+ $scheduler->add('buildstats' , Echolot::Config::get()->{'buildstats'} , 0, \&Echolot::Stats::build_stats );
+ $scheduler->add('buildkeys' , Echolot::Config::get()->{'buildkeys'} , 0, \&Echolot::Stats::build_keys );
$scheduler->add('buildthesaurus' , Echolot::Config::get()->{'build_thesaurus'} , 0, \&Echolot::Thesaurus::build_thesaurus );
$scheduler->add('commitprospectives' , Echolot::Config::get()->{'commitprospectives'} , 0, \&commit_prospective_address );
@@ -360,7 +361,7 @@ sub daemon_run() {
sub send_sig($) {
my ($sig) = @_;
- die ("Pidfile '".Echolot::Config::get()->{'pidfile'}."' does exist\n")
+ die ("Pidfile '".Echolot::Config::get()->{'pidfile'}."' does not exist\n")
unless pid_exists();
open (PIDFILE, '<'.Echolot::Config::get()->{'pidfile'}) or
croak ("Cannot open pidfile '".Echolot::Config::get()->{'pidfile'}."': $!\n");