Make env variables required
This commit is contained in:
parent
51030ac162
commit
ccb34d4452
3 changed files with 8 additions and 5 deletions
cmd/rove-server
|
@ -35,6 +35,10 @@ func InnerMain() {
|
|||
return
|
||||
}
|
||||
|
||||
if len(address) == 0 {
|
||||
log.Fatalf("Must set HOST_ADDRESS")
|
||||
}
|
||||
|
||||
log.Printf("Initialising version %s...\n", version.Version)
|
||||
|
||||
// Set the persistence path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue