From 514401257784e16b8d33d5c89e3e6402fe13ce6c Mon Sep 17 00:00:00 2001
From: Őry Máté <ory.mate@cloud.bme.hu>
Date: Fri, 8 Aug 2014 15:59:29 +0200
Subject: [PATCH] add systemd config

---
 misc/agent.service | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 misc/agent.service

diff --git a/misc/agent.service b/misc/agent.service
new file mode 100644
index 0000000..9dfa1f5
--- /dev/null
+++ b/misc/agent.service
@@ -0,0 +1,12 @@
+# /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
--
libgit2 0.26.0