From 4f88a66c31cb6f3374d6c95a1a153463fe16a72a Mon Sep 17 00:00:00 2001 From: Jerker Montelius Date: Thu, 18 May 2017 16:00:01 +0200 Subject: [PATCH] Use selenium_xvfb_args in selenium.unit file --- templates/selenium-unit.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/selenium-unit.j2 b/templates/selenium-unit.j2 index ff10536..f25dfca 100644 --- a/templates/selenium-unit.j2 +++ b/templates/selenium-unit.j2 @@ -3,7 +3,7 @@ Description=selenium test framework After=syslog.target network.target [Service] -ExecStart=/usr/bin/xvfb-run /usr/bin/java -client -jar {{ selenium_install_dir }}/selenium/selenium-server-standalone-{{ selenium_version }}.jar +ExecStart=/usr/bin/xvfb-run {{ selenium_xvfb_args }} /usr/bin/java -client -jar {{ selenium_install_dir }}/selenium/selenium-server-standalone-{{ selenium_version }}.jar Restart=on-failure RestartSec=20s