diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 11:22:19 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-05 11:22:19 +0200 |
commit | a1a0f33cab731eb60051af6bd5ae78cd6660b76f (patch) | |
tree | d96d4ef00707088913fed0b97fb03eb56a2064c0 | |
parent | 78aeb7d411d34781225569f7d40eea3d91b198d2 (diff) |
travelynx.conf: Actually call die() if DB_HOST is unset
-rw-r--r-- | examples/docker/travelynx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/docker/travelynx.conf b/examples/docker/travelynx.conf index 8f3f56f..b3dc003 100644 --- a/examples/docker/travelynx.conf +++ b/examples/docker/travelynx.conf @@ -4,7 +4,7 @@ realtime => $ENV{TRAVELYNX_IRISRT_CACHE} // '/var/cache/travelynx/iris-rt', }, db => { - host => $ENV{TRAVELYNX_DB_HOST} // 'die("Please set TRAVELYNX_DB_HOST")', + host => $ENV{TRAVELYNX_DB_HOST} // die("Please set TRAVELYNX_DB_HOST"), database => $ENV{TRAVELYNX_DB_NAME} // 'travelynx', user => $ENV{TRAVELYNX_DB_USERNAME} // 'travelynx', password => $ENV{TRAVELYNX_DB_PASSWORD} // die("Please set TRAVELYNX_DB_PASSWORD"), |