Commit 51440125 by Őry Máté

add systemd config

parent 5132c367
# /etc/systemd/system/agent.service
[Unit]
Description=CIRCLE agent
Before=network.target
[Service]
ExecStart=/bin/bash -c "cd /root/agent; . /root/.virtualenvs/agent/bin/activate; python agent.py"
Restart=always
[Install]
WantedBy=multi-user.target
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