travelynx.conf: Actually call die() if DB_HOST is unset
This commit is contained in:
parent
78aeb7d411
commit
a1a0f33cab
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue