Skip to content

Commit aa8a2cf

Browse files
committed
Issue arknoll#43 Connect with Xorg.
1 parent 6069f3c commit aa8a2cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/selenium-unit.j2

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[Unit]
22
Description=selenium test framework
3-
After=syslog.target network.target
3+
After=xorg.target
44

55
[Service]
6+
Environment=DISPLAY=:0.0
7+
User=vagrant
68
ExecStart=/usr/bin/java -client -jar {{ selenium_install_dir }}/selenium/selenium-server-standalone-{{ selenium_version }}.jar
79
Restart=on-failure
810
RestartSec=20s

0 commit comments

Comments
 (0)