mirror of https://github.com/chubin/wttr.in
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
311 B
13 lines
311 B
#!/bin/sh
|
|
export WEGORC="/srv/ephemeral/.wegorc"
|
|
export GOPATH="/srv/ephemeral"
|
|
|
|
export WTTR_MYDIR="/srv/ephemeral/wttr.in"
|
|
export WTTR_GEOLITE="/srv/ephemeral/GeoLite2-City.mmdb"
|
|
export WTTR_WEGO="$GOPATH/bin/wego"
|
|
|
|
export WTTR_LISTEN_HOST="0.0.0.0"
|
|
export WTTR_LISTEN_PORT="80"
|
|
|
|
python $WTTR_MYDIR/bin/srv.py
|