From 32bf64a531332562604380fba8f99ce12d9d536b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 10 Jul 2002 12:27:51 +0000 Subject: hups are sent by default --- pingd | 12 ++++++------ pingd.conf | 19 +++++++++++-------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/pingd b/pingd index 15246ff..508eb67 100755 --- a/pingd +++ b/pingd @@ -1,7 +1,7 @@ #!/usr/bin/perl -wT # (c) 2002 Peter Palfrader -# $Id: pingd,v 1.22 2002/07/10 11:49:41 weasel Exp $ +# $Id: pingd,v 1.23 2002/07/10 12:27:51 weasel Exp $ # =pod @@ -482,35 +482,35 @@ if ($COMMAND eq 'add' || $COMMAND eq 'delete') { if (!$params->{'nohup'} && pid_exists()) { daemon_hup() } else { - print "Don't forget to run $PROGRAM_NAME process. You may also use --hup in the future\n"; + print "Don't forget to run $PROGRAM_NAME process.\n"; }; } elsif ($COMMAND eq 'set') { command_set(@ARGV); if (!$params->{'nohup'} && pid_exists()) { daemon_hup() } else { - print "Don't forget to run $PROGRAM_NAME process. You may also use --hup in the future\n"; + print "Don't forget to run $PROGRAM_NAME process.\n"; }; } elsif ($COMMAND eq 'setremailercaps') { command_setremailercaps(@ARGV); if (!$params->{'nohup'} && pid_exists()) { daemon_hup() } else { - print "Don't forget to run $PROGRAM_NAME process. You may also use --hup in the future\n"; + print "Don't forget to run $PROGRAM_NAME process.\n"; }; } elsif ($COMMAND eq 'deleteremailercaps') { command_deleteremailercaps(@ARGV); if (!$params->{'nohup'} && pid_exists()) { daemon_hup() } else { - print "Don't forget to run $PROGRAM_NAME process. You may also use --hup in the future\n"; + print "Don't forget to run $PROGRAM_NAME process.\n"; }; } elsif ($COMMAND eq 'getkeyconf') { Echolot::Commands::addCommand("getkeyconf"); if (!$params->{'nohup'} && pid_exists()) { daemon_hup() } else { - print "Don't forget to run $PROGRAM_NAME process. You may also use --hup in the future\n"; + print "Don't forget to run $PROGRAM_NAME process.\n"; }; } elsif ($COMMAND eq 'process') { daemon_hup(); diff --git a/pingd.conf b/pingd.conf index 7bef62f..b096e3c 100644 --- a/pingd.conf +++ b/pingd.conf @@ -1,14 +1,17 @@ # vim:set syntax=perl: $CONFIG = { - 'homedir' => '/home/pinger/echolot', - 'sitename' => 'unconfigured', + 'homedir' => '/home/weasel/projects/echolot/devel/echolot', - 'my_localpart' => 'pinger', - 'my_domain' => 'example.com', + 'sitename' => 'noreply Test', + 'my_domain' => 'marvin.palfrader.org', - 'Pinger::Mix' => { - 'mix' => '/home/pinger/Mix/mix', - 'mixdir' => '/home/pinger/Mix' - } + 'Pinger::Mix' => { + 'mix' => '/home/weasel/Mix/mix', + 'mixdir' => '/home/weasel/Mix' + }, + 'my_localpart' => 'pinger', + + 'pinger_interval' => '60', + 'ping_every_nth_time' => '60', }; -- cgit v1.2.3