update docs
This commit is contained in:
parent
701dd84163
commit
59f23c19a8
1
README
1
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
|
||||
|
||||
|
@ -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/"
|
||||
|
4
main.go
4
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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user