Commit 2acf05e0 by barni2000

Remove virtualenvwrapper from agentdriver service file.

parent 27c25960
......@@ -6,7 +6,8 @@ BindsTo=node.service
User=cloud
Group=cloud
WorkingDirectory=/home/cloud/agentdriver
ExecStart=/bin/bash -c "source /etc/profile; workon agentdriver; exec python agentdriver.py"
Environment="VENV_PATH=/home/cloud/.virtualenvs"
ExecStart=/bin/bash -c "source $VENV_PATH/agentdriver/bin/activate; source $VENV_PATH/agentdriver/bin/postactivate; exec python agentdriver.py"
Restart=always
[Install]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment