Add SIGHUP handling to demo project
This commit is contained in:
parent
f18e61449a
commit
fd20501cec
|
@ -35,6 +35,8 @@ func main() {
|
||||||
secondly.Manage(&conf)
|
secondly.Manage(&conf)
|
||||||
// Handling file system events
|
// Handling file system events
|
||||||
secondly.HandleFSEvents()
|
secondly.HandleFSEvents()
|
||||||
|
// Handle SIGHUP
|
||||||
|
secondly.HandleSIGHUP()
|
||||||
// Starting a web server
|
// Starting a web server
|
||||||
secondly.StartServer("", 5500)
|
secondly.StartServer("", 5500)
|
||||||
// Defining callbacks
|
// Defining callbacks
|
||||||
|
|
Loading…
Reference in New Issue