diff --git a/cmd/eksterd/main.go b/cmd/eksterd/main.go index 26dba39..966be3f 100644 --- a/cmd/eksterd/main.go +++ b/cmd/eksterd/main.go @@ -114,6 +114,11 @@ func main() { if createBackend { backend = createMemoryBackend() + + log.Println(`Config file "backend.json" is created in the current directory.`) + log.Println(`Update "Me" variable to your website address "https://example.com/"`) + log.Println(`Update "TokenEndpoint" variable to the address of your token endpoint "https://example.com/token"`) + return } diff --git a/cmd/eksterd/memory.go b/cmd/eksterd/memory.go index 843525c..d039308 100644 --- a/cmd/eksterd/memory.go +++ b/cmd/eksterd/memory.go @@ -169,10 +169,6 @@ func createMemoryBackend() microsub.Microsub { backend.lock.Unlock() backend.save() - - log.Println(`Config file "backend.json" is created in the current directory.`) - log.Println(`Update "Me" variable to your website address "https://example.com/"`) - log.Println(`Update "TokenEndpoint" variable to the address of your token endpoint "https://example.com/token"`) return &backend }