aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-03 15:54:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-03 15:54:25 +0200
commit798a0aab2fbb5aed01bbd8419b65a03fb4602b3f (patch)
tree480c89c64c5113cc015934a82d03e0dc45ed5c67 /bbot/bbot-agent@.service
parentc13366d910ebbdfc30c8b399ff29161747537d1c (diff)
Make agent simple systemd daemon, add worker stub
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
new file mode 100644
index 0000000..7336610
--- /dev/null
+++ b/bbot/bbot-agent@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=bbot agent for %I
+After=default.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/bbot-agent %i
+User=build
+Group=build
+WorkingDirectory=~
+
+[Install]
+WantedBy=default.target