mirror of
https://github.com/chubin/wttr.in.git
synced 2024-10-05 09:52:13 +02:00
13 lines
311 B
Bash
Executable File
13 lines
311 B
Bash
Executable File
#!/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
|