From 58d5cd140d41bf5b3f728bbe2d0889ed578a2fed Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Tue, 25 Jul 2017 16:26:42 -0700 Subject: [PATCH] Mention restart --- command/init.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/command/init.go b/command/init.go index b9e7ac43e..771b54f93 100644 --- a/command/init.go +++ b/command/init.go @@ -337,8 +337,9 @@ job "example" { # change_signal = "SIGHUP" # } - # The "template" stanza can also be used to create env vars for tasks - # that prefer those to config files. + # The "template" stanza can also be used to create environment variables + # for tasks that prefer those to config files. The task will be restarted + # when data pulled from Consul or Vault changes. # # template { # data = "KEY={{ key \"service/my-key\" }}"