[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [meek/master] Log SIGTERM in meek-server.
commit dfea22d596cfb89d5807f2bbf33eef2004e44dd0
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Wed May 7 20:22:11 2014 -0700
Log SIGTERM in meek-server.
---
meek-server/meek-server.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meek-server/meek-server.go b/meek-server/meek-server.go
index 933c742..30964b8 100644
--- a/meek-server/meek-server.go
+++ b/meek-server/meek-server.go
@@ -332,7 +332,9 @@ func main() {
ln.Close()
}
+ log.Printf("got signal %s", sig)
if sig == syscall.SIGTERM {
+ log.Printf("done")
return
}
@@ -346,5 +348,6 @@ func main() {
}
}
+ log.Printf("got second signal %s", sig)
log.Printf("done")
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits