ispman/bin ispman-agent,1.72,1.73
Joerg Delker <[email protected]> Mon, 02 Oct 2006 13:55:59 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv30661/bin
Modified Files:
ispman-agent
Log Message:
modifying comment about alias hostname usage
Index: ispman-agent
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman-agent,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- ispman-agent 27 Sep 2006 21:56:29 -0000 1.72
+++ ispman-agent 2 Oct 2006 13:55:57 -0000 1.73
@@ -42,9 +42,9 @@
$install_dir = $Config->{'installDir'};
$TEST = $Config->{'TEST'};
-$hostname = hostname(); # find hostname using Sys::Hostname. -End-Of-Story-
-
-#If you don't have Sys::Hostname, you probably cant run ispman anyway,
+# Determine hostname for which this agent proceses jobs.
+# Use the script ispman.myhostname to see how ispman-agent will see the hostname
+$hostname = hostname();
######## Additional hostnames by which this agent will ################
######## recognize processes for this host. ################
@@ -54,12 +54,7 @@
# for example if the hostname is zhisp01 but your mailhost is/was set to mailhost1
# and your webhost is/was set to webhost 1
# you may define mailhost1 and webhost1 as additional hostnames for this machine
-# Example: $Config->{'hostnames'}="mailhost1 webhost1";
-# this scenario should never arise on a clean system
-#
-# Note that the primary hostname of this node will always be whay Sys::Hostname
-# will find
-# Use the script ispman.myhostname to see how ispman-agent will see the hostname
+# by setting the alias field via "Configure->Hosts" in the UI.
my $pid_file =
( $Config->{"pid_file"} =~ /\S/ ) ? $Config->{"pid_file"} : join "/",
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV