figuring out gokrazy
This commit is contained in:
parent
ba134b9fde
commit
1ed2ddeca5
3
main.go
3
main.go
|
@ -2,6 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
|
@ -100,11 +101,13 @@ func main() {
|
|||
Facility: "daemon",
|
||||
WriteSyslog: false,
|
||||
}
|
||||
fmt.Println(defaultPath("nlink.conf"))
|
||||
|
||||
if err := log.Setup(logOpts); err != nil {
|
||||
die.If(err)
|
||||
}
|
||||
|
||||
log.Infof("minio_bucket: %s", config.Get("minio_bucket"))
|
||||
if err := restoreDatabase(config.Get("local_database")); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue