This commit is contained in:
parent
b1ca78df66
commit
01400f8d29
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
NGINX_CONF=./nginx.conf
|
NGINX_CONF=/etc/nginx/nginx.conf
|
||||||
NGINX_INGEST_CONF=./nginx_ingest.conf
|
NGINX_INGEST_CONF=/etc/nginx/nginx_ingest.conf
|
||||||
NGINX_RESTREAM_CONF=./nginx_restream.conf
|
NGINX_RESTREAM_CONF=/etc/nginx/nginx_restream.conf
|
||||||
function mfcb { local val="$4"; "$1"; eval "$2[$3]=\$val;"; };
|
function mfcb { local val="$4"; "$1"; eval "$2[$3]=\$val;"; };
|
||||||
function val_ltrim { if [[ "$val" =~ ^[[:space:]]+ ]]; then val="${val:${#BASH_REMATCH[0]}}"; fi; };
|
function val_ltrim { if [[ "$val" =~ ^[[:space:]]+ ]]; then val="${val:${#BASH_REMATCH[0]}}"; fi; };
|
||||||
function val_rtrim { if [[ "$val" =~ [[:space:]]+$ ]]; then val="${val:0:${#val}-${#BASH_REMATCH[0]}}"; fi; };
|
function val_rtrim { if [[ "$val" =~ [[:space:]]+$ ]]; then val="${val:0:${#val}-${#BASH_REMATCH[0]}}"; fi; };
|
||||||
|
Loading…
Reference in New Issue
Block a user