[Libreoffice-commits] dev-tools.git: ciabot/setup

Norbert Thiebaud nthiebaud at gmail.com
Sat Nov 23 05:58:55 PST 2013


 ciabot/setup/irkerd.conf   |   18 ++++++++++++++++++
 ciabot/setup/loircbot.conf |   19 +++++++++++++++++++
 2 files changed, 37 insertions(+)

New commits:
commit 3bde051e1540691362c8ab486ec7bd058b9ce756
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Fri Nov 22 19:45:52 2013 -0600

    add Upstart config for ciabot and irkerd
    
    Change-Id: Idf80630dcccac05f876e7d2f23786a5fd72ff747
    Reviewed-on: https://gerrit.libreoffice.org/6766
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/ciabot/setup/irkerd.conf b/ciabot/setup/irkerd.conf
new file mode 100644
index 0000000..d55afaa
--- /dev/null
+++ b/ciabot/setup/irkerd.conf
@@ -0,0 +1,18 @@
+# irkerd - Relay for shipping notification to IRC servers
+#
+
+description   "Relay for shipping notification to IRC server"
+
+start on filesystem or runlevel [2345]
+stop on runlevel [!2345]
+
+console log
+setuid ciabot
+setgid ciabot
+
+pre-start script
+    test -x /usr/bin/irkerd || { stop; exit 0; }
+end script
+
+exec /usr/bin/irkerd -n loircbot
+
diff --git a/ciabot/setup/loircbot.conf b/ciabot/setup/loircbot.conf
new file mode 100644
index 0000000..70ef8e7
--- /dev/null
+++ b/ciabot/setup/loircbot.conf
@@ -0,0 +1,19 @@
+# loircbot - monitor gerrit repos and dispatch notification to irc and bugzilla
+#
+
+description   "monitor gerrit's repo and dispatch notification to irc and bugzilla"
+
+start on started irkerd
+stop on stopping irkerd
+
+chdir /home/ciabot/prod
+console log
+setuid ciabot
+setgid ciabot
+
+pre-start script
+    test -x /home/ciabot/prod/run-libreoffice-ciabot.pl || { stop; exit 0; }
+end script
+
+exec /home/ciabot/prod/run-libreoffice-ciabot.pl
+


More information about the Libreoffice-commits mailing list