summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 14:55:22 +0200
committerPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 14:55:22 +0200
commitda938a661f38c6740f41e6fd585c2f2054ebc0c0 (patch)
tree941633802ca47230a9a9287c84ef43df84974dd6 /index.pl
parent84940ae5e4d0f603f0eb2df51e3a24f2e2da3d24 (diff)
add configdev config
Diffstat (limited to 'index.pl')
-rwxr-xr-xindex.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index 985af29..4442648 100755
--- a/index.pl
+++ b/index.pl
@@ -9,8 +9,9 @@ use Socket;
use Sys::Hostname;
my $host = hostname();
-my $config = -e "config-$host.txt" ? "config-$host.txt" : 'config.txt';
+my $config = -e "configdev-$host.txt" ? "configdev-$host.txt" : (
+ -e "config-$host.txt" ? "config-$host.txt" : 'config.txt'
+);
my Xerl $xerl = Xerl->new( config => $config );
$xerl->run();
-