stacks-network / stacks-blockchain-docker

Stacks-blockchain with API using docker compose
GNU General Public License v3.0
27 stars 37 forks source link

manage.sh does not launch in linux enviroment #66

Closed friedger closed 2 years ago

friedger commented 2 years ago

The env command is expected as /bin/env, however, on linux it is usually at /usr/bin/env

wileyj commented 2 years ago

Which dist are you using? for Debian, both paths are accurate

friedger commented 2 years ago

@wileyj ubuntu

wileyj commented 2 years ago

I'll have to try this myself - i've only ever used non-ubuntu versions of linux. what release version of ubuntu did you notice this on?

wileyj commented 2 years ago

Best that i can tell is that either /bin/env or /usr/bin/env is a hardlink, where /bin/env isn't present on some ubuntu releases for whatever reason. change shebang to /usr/bin

https://github.com/stacks-network/stacks-blockchain-docker/commit/449c4e5784c3bd82e548fed514f16029f7dbe72d

to quote my commit: "thanks mark"