Docker: start_obfsvpn.sh tail causing error
Somehow tail command seems to be not working properly on busybox:
docker compose up bridge1
[+] Building 0.0s (0/0) docker:default
[+] Running 1/0
✔ Container jnk-compose-bridge1-1 Created 0.0s
Attaching to bridge1-1
bridge1-1 | tail: unrecognized option: pid=8
bridge1-1 |
bridge1-1 | ____ __
bridge1-1 | / __/___/ / ___
bridge1-1 | / _// __/ _ \/ _ \
bridge1-1 | /___/\__/_//_/\___/ v4.11.1
bridge1-1 | High performance, minimalist Go web framework
bridge1-1 | https://echo.labstack.com
bridge1-1 | ____________________________________O/_______
bridge1-1 | O\
bridge1-1 | ⇨ http server started on [::]:9090
bridge1-1 | 2024/05/19 01:35:22 Error calling ReadInConfig: Config File "obfsvpn" Not Found in "[/opt/obfsvpn]"
bridge1-1 | 2024/05/19 01:35:22 Using obfs4 config file: /opt/obfsvpn/data/obfs4_state.json
bridge1-1 | DEBUG 2024/05/19 01:35:22 kcp: false, hop: false, udp: true
bridge1-1 | DEBUG 2024/05/19 01:35:22 DEBUG: &{{<nil> 0s 0} {false 65535 65535 16777216 16777216} 0xc00038a000 0xc000386000 218c3aa20159b042b9a673b83a75c2dd558aad322ef62ece3febc373bdb1f91c [140 176 127 49 240 95 138 86 173 188 249 187 22 229 224 167 114 161 85 115 10 150 29 88 0 0 0 0 0 0 0 0] /opt/obfsvpn/data}
bridge1-1 | 2024/05/19 01:35:22 Listening on [::]:4430…
bridge1-1 | BusyBox v1.36.1 (2023-11-07 18:53:09 UTC) multi-call binary.
bridge1-1 |
bridge1-1 | Usage: tail [OPTIONS] [FILE]...
bridge1-1 |
bridge1-1 | Print last 10 lines of FILEs (or stdin) to.
bridge1-1 | With more than one FILE, precede each with a filename header.
bridge1-1 |
bridge1-1 | -c [+]N[bkm] Print last N bytes
bridge1-1 | -n N[bkm] Print last N lines
bridge1-1 | -n +N[bkm] Start on Nth line and print the rest
bridge1-1 | (b:*512 k:*1024 m:*1024^2)
bridge1-1 | -q Never print headers
bridge1-1 | -v Always print headers
bridge1-1 | -f Print data as file grows
bridge1-1 | -F Same as -f, but keep retrying
bridge1-1 | -s SECONDS Wait SECONDS between reads with -f