Add auto-restart to meetbot
When the meetbot repo changes we should restart all instances using this repo Change-Id: I4dedb2e05e2c053569cae23872e45f70f0796ed6
This commit is contained in:
parent
45940d0d2b
commit
acd8cae704
@ -92,6 +92,7 @@ define meetbot::site($nick, $network, $server, $url, $channels, $use_ssl) {
|
|||||||
service { "${name}-meetbot":
|
service { "${name}-meetbot":
|
||||||
provider => upstart,
|
provider => upstart,
|
||||||
ensure => running,
|
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"]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user