ansible/roles/mlmmj/templates/mlmmj-maintd/finish.j2

15 lines
254 B
Plaintext
Raw Normal View History

2021-02-01 02:45:58 +01: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 "${NAME}: Stopped."
}
echo "${NAME}: Failed with exit status (${1}, ${2})."