forked from gsn/predictor
12 lines
360 B
Batchfile
12 lines
360 B
Batchfile
@echo off
|
|
REM Batch startup script for predictor service
|
|
REM Sets required environment variables and starts the service
|
|
|
|
set GSN_PREDICTOR_GRIB_DIR="c://tmp/grib"
|
|
set GSN_PREDICTOR_GRIB_TTL=48h
|
|
|
|
echo Starting predictor service with GRIB directory: %GSN_PREDICTOR_GRIB_DIR%
|
|
echo Dataset TTL: %GSN_PREDICTOR_GRIB_TTL%
|
|
|
|
REM Run the service
|
|
go run cmd/api/main.go
|