ansible/roles/openntpd/templates/openntpd-log/finish.j2
2020-10-23 19:03:23 +02:00

13 lines
276 B
Django/Jinja

#!/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 "${NAME}-log: Stopped."
}
echo "${NAME}-log: Failed with exit status (${1}, ${2})."