initial commit
This commit is contained in:
12
scripts/angie
Executable file
12
scripts/angie
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
Reference in New Issue
Block a user