This commit is contained in:
Eri - 2017-12-01 22:52:09 +01:00
parent 6304c368cd
commit 9e7c470567
3 changed files with 7 additions and 7 deletions

10
main.go
View File

@ -68,7 +68,7 @@ func (g Greeter) Exec(c *telgo.Client, args []string) bool {
c.Sayln(" Hello there") c.Sayln(" Hello there")
c.Sayln("") c.Sayln("")
if wait(1*time.Second, c.Cancel) { if wait(5*time.Second, c.Cancel) {
return true return true
} }
c.Sayln(" welcome to <<</>>") c.Sayln(" welcome to <<</>>")
@ -76,14 +76,14 @@ func (g Greeter) Exec(c *telgo.Client, args []string) bool {
c.Sayln(" from the valley of the clueless") c.Sayln(" from the valley of the clueless")
c.Sayln("") c.Sayln("")
if wait(1*time.Second, c.Cancel) { if wait(5*time.Second, c.Cancel) {
return true return true
} }
c.Sayln(" we run a comfy hackspace") c.Sayln(" we run a comfy hackspace")
c.Sayln(" with a peaceful comunity") c.Sayln(" with a peaceful community")
c.Sayln("") c.Sayln("")
if wait(1*time.Second, c.Cancel) { if wait(3*time.Second, c.Cancel) {
return true return true
} }
c.Sayln(" we are part of") c.Sayln(" we are part of")
@ -91,7 +91,7 @@ func (g Greeter) Exec(c *telgo.Client, args []string) bool {
c.Sayln(" over 10 years") c.Sayln(" over 10 years")
c.Sayln("") c.Sayln("")
if wait(1*time.Second, c.Cancel) { if wait(3*time.Second, c.Cancel) {
return true return true
} }
c.Sayln(" you should come by!") c.Sayln(" you should come by!")

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=realraum birthday telnet server Description=<<</>> telnet server
After=local-fs.target After=local-fs.target
[Service] [Service]

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=realraum birthday telnet server socket Description=<<</>> telnet server socket
[Socket] [Socket]
ListenStream=23 ListenStream=23