11 lignes
198 o
Bash
11 lignes
198 o
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -ex
|
||
|
|
||
|
go get github.com/ewhal/nyaa
|
||
|
go build
|
||
|
./nyaa -host 0.0.0.0 \
|
||
|
-port "${PANTSU_INTERNAL_PORT}" \
|
||
|
-dbtype "${PANTSU_DBTYPE}" \
|
||
|
-dbparams "${PANTSU_DBPARAMS}"
|