diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-10-14 12:32:54 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-10-14 12:32:54 +0200 |
commit | a53cdb1324436d19bb5b817fa9d2153f8149d4d6 (patch) | |
tree | 9e5c6373833bfa62e887ff8366f975a87b1b2604 | |
parent | ff86b4c31357b4c93c012c40fa3d5ca511361b31 (diff) |
index.pl: fix workers env, allow env to override listen port
-rw-r--r-- | index.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -792,9 +792,9 @@ get '/multi/:station' => \&handle_request; app->config( hypnotoad => { accepts => 10, - listen => ['http://*:8092'], + listen => [ $ENV{DBFAKEDISPLAY_LISTEN} // 'http://*:8092' ], pid_file => '/tmp/db-fakedisplay.pid', - workers => $ENV{VRRFAKEDISPLAY_WORKERS} // 2, + workers => $ENV{DBFAKEDISPLAY_WORKERS} // 2, }, ); |