summaryrefslogtreecommitdiff
path: root/baserock_webserver/gitlab-bot/gitlab-bst-bot.conf
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-10-20 16:09:19 +0100
committerBen Brown <ben.brown@codethink.co.uk>2017-10-23 11:11:13 +0000
commitd28577c8f0f602e92e722ac0d2561b86bf618484 (patch)
treee05a6abf1944032e510da5a3ec5997cf449f5ed0 /baserock_webserver/gitlab-bot/gitlab-bst-bot.conf
parentb4c27d66732db3851726e6ae4b0dce77c3275731 (diff)
downloadinfrastructure-d28577c8f0f602e92e722ac0d2561b86bf618484.tar.gz
Move the Gitlab bot into the baserock_webserver machine
A few changes required to get it running on Fedora, but nothing major.
Diffstat (limited to 'baserock_webserver/gitlab-bot/gitlab-bst-bot.conf')
-rw-r--r--baserock_webserver/gitlab-bot/gitlab-bst-bot.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/baserock_webserver/gitlab-bot/gitlab-bst-bot.conf b/baserock_webserver/gitlab-bot/gitlab-bst-bot.conf
new file mode 100644
index 00000000..b34026a8
--- /dev/null
+++ b/baserock_webserver/gitlab-bot/gitlab-bst-bot.conf
@@ -0,0 +1,19 @@
+# /etc/init/gitlab-bst-bot.conf
+
+description "Gitlab irc notifications server"
+
+start on startup
+stop on shutdown
+
+
+# Automatically Respawn:
+respawn
+respawn limit 99 5
+
+setuid ubuntu
+setgid ubuntu
+
+script
+ cd {{ gitlab_to_irc_install_location }}
+ exec sudo node index.js
+end script