summaryrefslogtreecommitdiff
path: root/baserock_webserver/gitlab-bot/gitlab-bst-bot.conf
diff options
context:
space:
mode:
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