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
b6880d3170
commit
7398348f39
@ -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"]]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user