vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17510: Get servername on startup

Committer: vad
Get servername on startup
U   trunk/cgi-bin/modperl.pl
Modified: trunk/cgi-bin/modperl.pl
===================================================================
--- trunk/cgi-bin/modperl.pl	2010-10-05 09:46:29 UTC (rev 17509)
+++ trunk/cgi-bin/modperl.pl	2010-10-05 09:47:57 UTC (rev 17510)
@@ -50,4 +50,12 @@
 use Carp();
 $SIG{'USR2'} = sub { Carp::confess("caught SIGUSR2!"); };
 
+##
+##
+##
+use Sys::Hostname;
+$LJ::HARDWARE_SERVER_NAME = hostname();
+
+
+
 1;

Tags: livejournal, pl, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments