diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-10-14 12:33:47 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-10-14 12:33:47 +0200 |
commit | a2c6d41329c9f85969dc11c0f00d2cd588dc7884 (patch) | |
tree | e519db3c732528897a9f6080d65e0685a331ddb1 /index.pl | |
parent | d693643a0045a137c6c6af8c0f6956488a68d4bd (diff) |
index: Fix workers env, allow env to override listen port
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, }, ); |