figuring out gokrazy

This commit is contained in:
Kyle Isom 2023-05-06 01:09:40 -07:00
parent ba134b9fde
commit 1ed2ddeca5
1 changed files with 3 additions and 0 deletions

View File

@ -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)
}