1
0
Fork 0

Add SIGHUP handling to demo project

This commit is contained in:
Gregory Eremin 2015-08-29 20:36:41 +03:00
parent f18e61449a
commit fd20501cec
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ func main() {
secondly.Manage(&conf)
// Handling file system events
secondly.HandleFSEvents()
// Handle SIGHUP
secondly.HandleSIGHUP()
// Starting a web server
secondly.StartServer("", 5500)
// Defining callbacks