commands

Each template can have its own reload and check command. Both commands are executed in a sh-shell which means that operations like environment variable substitution or pipes should work correctly.

In the check command its additionally possible to reference to the rendered source template with {{ .src }}.

The check command must exit with status code 0 so that:

  • the reload command runs
  • the child process gets reloaded

The template configuration parameters can be found here: template configuration.