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 ( import (
"flag" "flag"
"fmt"
"path/filepath" "path/filepath"
"time" "time"
@ -100,11 +101,13 @@ func main() {
Facility: "daemon", Facility: "daemon",
WriteSyslog: false, WriteSyslog: false,
} }
fmt.Println(defaultPath("nlink.conf"))
if err := log.Setup(logOpts); err != nil { if err := log.Setup(logOpts); err != nil {
die.If(err) die.If(err)
} }
log.Infof("minio_bucket: %s", config.Get("minio_bucket"))
if err := restoreDatabase(config.Get("local_database")); err != nil { if err := restoreDatabase(config.Get("local_database")); err != nil {
log.Fatal(err) log.Fatal(err)
} }