Created
October 1, 2019 13:15
-
-
Save elgatov/8849f9d95556162a17a3786bf08ad958 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
selenium-grid.service | |
----------------------------------------------------------------------------------------------------------------------------- | |
[Unit] | |
Description=Selenium service | |
After=network.target | |
[Service] | |
User=selenium | |
Type=simple | |
#WorkingDirectory=/home/eduqaadmin | |
DeviceAllow=/dev/shm w | |
ExecStart=/bin/java -jar /opt/selenium-server-standalone.jar -role hub -hubConfig /home/eduqaadmin/hubconfig.json | |
#StandardOutput=/var/log/selenium_stdout.log | |
#StandardError=/var/log/selenium_stderr.log | |
[Install] | |
WantedBy=multi-user.target | |
selenium-node.service | |
----------------------------------------------------------------------------------------------------------------------------- | |
[Unit] | |
Description=Selenium nodes | |
After=network.target | |
[Service] | |
User=eduqaadmin | |
Type=simple | |
#WorkingDirectory=/home/eduqaadmin | |
ExecStart=/bin/xvfb-run '--server-args="-screen 0 2048x1536x24"' java -jar /opt/selenium-server-standalone.jar -role node -nodeConfig /home/eduqaadmin/nodeconfig.json | |
DeviceAllow=/dev/shm w | |
#PrivateTmp=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment