From 7398348f3903540431625b9e6a77d7fcc6cdb2dc Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Tue, 1 May 2012 08:55:04 +0100 Subject: [PATCH] Add auto-restart to meetbot When the meetbot repo changes we should restart all instances using this repo Change-Id: I4dedb2e05e2c053569cae23872e45f70f0796ed6 --- modules/meetbot/manifests/site.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/meetbot/manifests/site.pp b/modules/meetbot/manifests/site.pp index c1b92e66ad..90a7243273 100644 --- a/modules/meetbot/manifests/site.pp +++ b/modules/meetbot/manifests/site.pp @@ -92,6 +92,7 @@ define meetbot::site($nick, $network, $server, $url, $channels, $use_ssl) { service { "${name}-meetbot": provider => upstart, ensure => running, - require => File["/etc/init/${name}-meetbot.conf"] + require => File["/etc/init/${name}-meetbot.conf"], + subscribe => [File["/usr/share/pyshared/supybot/plugins/MeetBot"], File["/var/lib/meetbot/${name}/ircmeeting"]] } }