Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. vi /usr/lib/systemd/system/selenium.service
  2.  
  3. [Unit]
  4. Description=Selenium Standalone Server
  5. After=syslog.target network.target
  6.  
  7. [Service]
  8. Type=simple
  9. User=selenium
  10.  
  11. WorkingDirectory=/usr/local/lib/selenium
  12. Environment=DISPLAY=:44
  13. EnvironmentFile=-/etc/sysconfig/selenium
  14. ExecStart=/usr/bin/java -jar ./selenium-server.jar
  15.  
  16. [Install]
  17. WantedBy=multi-user.target
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. systemctl daemon-reload
  26. systemctl start selenium
  27. journalctl -f -u selenium
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement