From d28577c8f0f602e92e722ac0d2561b86bf618484 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Fri, 20 Oct 2017 16:09:19 +0100 Subject: Move the Gitlab bot into the baserock_webserver machine A few changes required to get it running on Fedora, but nothing major. --- baserock_webserver/gitlab-bot/gitlab-bst-bot.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 baserock_webserver/gitlab-bot/gitlab-bst-bot.conf (limited to 'baserock_webserver/gitlab-bot/gitlab-bst-bot.conf') 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 -- cgit v1.2.1