Skip to content
Discussion options

You must be logged in to vote

I have solved it by following the steps below:

  • Run systemctl edit [service_name]
  • It will create a new directory /etc/system/systemd/[service_name].service.d with a new file inside named override.conf.
  • You must then add your desired environment variables as below:
[Service]
Environment="WEBDRIVER_URL=http://[IP/HOST]:4444/wd//hub"
  • Run systemctl daemon-reload
  • Run systemctl restart [service_name]
  • DONE!

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@smtdev
Comment options

Comment options

You must be logged in to vote
2 replies
@dgtlmoon
Comment options

@smtdev
Comment options

Answer selected by smtdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1338 on January 24, 2023 23:05.