summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-07-10 12:27:51 +0000
committerPeter Palfrader <peter@palfrader.org>2002-07-10 12:27:51 +0000
commit32bf64a531332562604380fba8f99ce12d9d536b (patch)
tree53849e943ea83c7beeb42a2964e12408f28a4850
parent71b24437c5acab84b9377ae617f96784caaf2364 (diff)
hups are sent by default
-rwxr-xr-xpingd12
-rw-r--r--pingd.conf19
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 <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();
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',
};