From a2c6d41329c9f85969dc11c0f00d2cd588dc7884 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 14 Oct 2015 12:33:47 +0200 Subject: index: Fix workers env, allow env to override listen port --- index.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.pl') 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, }, ); -- cgit v1.2.3