mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
puppet: Only restart supervisor when the config file has been updated
(imported from commit ad318e2d7a1350235a62585a45a6b3673d783393)
This commit is contained in:
@@ -64,7 +64,7 @@ class humbug::app_frontend {
|
||||
|
||||
exec {"humbug-server":
|
||||
command => "/etc/init.d/supervisor restart",
|
||||
require => [File["/etc/supervisor/conf.d/humbug.conf"],
|
||||
File["/var/log/humbug"],]
|
||||
require => File["/var/log/humbug"],
|
||||
subscribe => File["/etc/supervisor/conf.d/humbug.conf"],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user