Add SIGHUP handling to demo project
This commit is contained in:
parent
f18e61449a
commit
fd20501cec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue