setup_prefork.sh 205 B

12345678910
  1. #!/bin/bash
  2. sed -i 's|tcp(.*:3306)|tcp('"${DBHOST}"':3306)|g' src/hello/hello.go
  3. fw_depends go
  4. go get -u github.com/jackc/pgx
  5. go get -u github.com/valyala/fasthttp
  6. go run src/hello/hello.go -prefork &