From 59f23c19a84e7003191d20fd02f9cf2589bb62a3 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 20 Feb 2020 17:03:34 -0500 Subject: [PATCH] update docs --- README | 1 + config.yaml.sample | 8 +++++++- main.go | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README b/README index 78d90cd..64027a2 100644 --- a/README +++ b/README @@ -2,6 +2,7 @@ SecretShop: a small Gemini server. # Features * Multi-site hosting +* Also supports simple Gopher hosting * Fully compliant with Jetforce diagnostics * Probably won't kill your computer diff --git a/config.yaml.sample b/config.yaml.sample index 63c3379..ffbf15c 100644 --- a/config.yaml.sample +++ b/config.yaml.sample @@ -2,6 +2,8 @@ active_capsules: - localhost - localhost2 +active_holes: + - localhost3 localhost: Hostname: "localhost" Port: "1965" @@ -10,9 +12,13 @@ localhost: KeyFile: "localhost.key" CertFile: "localhost.crt" localhost2: - Hostname: "gemini.saintnet.tech" + Hostname: "gemini.foo.bar" Port: "1966" RootDir: "/var/gemini2" CGIDir: "/var/gemini2/cgi" KeyFile: "localhost2.key" CertFile: "localhost2.crt" +localhost3: + Hostname: "gopher.foo.bar" + Port: "70" + RootDir: "/var/gopher/" diff --git a/main.go b/main.go index 880d260..2ba2375 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,7 @@ func main() { log.Println("No capsules or gopherholes loaded. Shutting down.") return } - log.Printf("%v capsules loaded, %v holes loaded", len(capsule_list), len(hole_list)) + log.Printf("%v capsules loaded, %v gopherholes loaded", len(capsule_list), len(hole_list)) // Intialize servers wg := new(sync.WaitGroup) wg.Add(len(capsule_list) + len(hole_list)) @@ -59,6 +59,8 @@ func main() { wg.Done() }(h) } + log.Println("Done bringing up capsules and gopherholes") + log.Println("Ho ho! You found me!") wg.Wait() }