Update file run_onchange_after_5-log-config.tmpl

This commit is contained in:
Brian Zalewski 2023-01-10 08:54:12 +00:00
parent 3b0d4b6b8e
commit 0c55b948f0

View file

@ -1,6 +1,11 @@
#!/usr/bin/env bash
# home directories: {{ output ("ls" "-1" .host.homeParentFolder) }}
{{ $homeDirs := (output "find" .host.homeParentFolder "-mindepth" "1" "-maxdepth" "1" "-type" "d") -}}
{{- range $homeDir := splitList "\n" $homeDirs -}}
{{- if ne $homeDir "" -}}
# home dir: {{ $homeDir }}
{{ end -}}
{{- end }}
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}