diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-07-10 12:27:51 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-07-10 12:27:51 +0000 |
commit | 32bf64a531332562604380fba8f99ce12d9d536b (patch) | |
tree | 53849e943ea83c7beeb42a2964e12408f28a4850 | |
parent | 71b24437c5acab84b9377ae617f96784caaf2364 (diff) |
hups are sent by default
-rwxr-xr-x | pingd | 12 | ||||
-rw-r--r-- | pingd.conf | 19 |
2 files changed, 17 insertions, 14 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/perl -wT # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $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(); @@ -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', }; |