We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6069f3c commit aa8a2cfCopy full SHA for aa8a2cf
templates/selenium-unit.j2
@@ -1,8 +1,10 @@
1
[Unit]
2
Description=selenium test framework
3
-After=syslog.target network.target
+After=xorg.target
4
5
[Service]
6
+Environment=DISPLAY=:0.0
7
+User=vagrant
8
ExecStart=/usr/bin/java -client -jar {{ selenium_install_dir }}/selenium/selenium-server-standalone-{{ selenium_version }}.jar
9
Restart=on-failure
10
RestartSec=20s
0 commit comments