1
0
Files
angie-conv-image/scripts/angie
2025-06-05 11:01:19 +03:00

13 lines
337 B
Bash
Executable File

#!/bin/sh
set -ef
## hardcoded configuration directory
d=/run/ngx/conf
## reparse PATH: remove /usr/local/sbin
PATH=$(printf 'x:%s:x' "${PATH}" | sed -zE 's#:/usr/local/sbin/?:#:#g;s/^x://;s/:x$//')
export PATH
exec env -C $d /usr/sbin/angie -p $d -c $d/angie.conf -e stderr --log-level=info -g 'error_log stderr info;' "$@"
exit 126