ansible/roles/bhyve-s6/templates/bhyve-log/finish.j2

14 lines
288 B
Plaintext
Raw Permalink Normal View History

2020-09-14 03:52:49 +02:00
#!/usr/local/bin/execlineb -S2
# {{ ansible_managed }}
s6-envdir ./env
multisubstitute {
importas -i -u NAME NAME
}
fdmove -c 1 2
ifelse { test "${1}" -eq 0 } {
echo "bhyve-${NAME}-log: Stopped."
}
echo "bhyve-${NAME}-log: Failed with exit status (${1}, ${2})."