summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-14 12:33:47 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-10-14 12:33:47 +0200
commita2c6d41329c9f85969dc11c0f00d2cd588dc7884 (patch)
treee519db3c732528897a9f6080d65e0685a331ddb1 /index.pl
parentd693643a0045a137c6c6af8c0f6956488a68d4bd (diff)
index: Fix workers env, allow env to override listen port
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index c574328..afa3c27 100644
--- a/index.pl
+++ b/index.pl
@@ -591,9 +591,9 @@ get '/:stop' => \&handle_request;
app->config(
hypnotoad => {
- listen => ['http://*:8091'],
+ listen => [ $ENV{VRRFAKEDISPLAY_LISTEN} // 'http://*:8091' ],
pid_file => '/tmp/vrr-fakedisplay.pid',
- workers => $ENV{DBFAKEDISPLAY_WORKERS} // 2,
+ workers => $ENV{VRRFAKEDISPLAY_WORKERS} // 2,
},
);