Started work on multi file hooks loading

This commit is contained in:
Adnan Hajdarevic 2016-12-05 21:22:34 +01:00
parent 07f166616c
commit 8207c6cf12
3 changed files with 116 additions and 45 deletions

View file

@ -26,7 +26,7 @@ func watchForSignals() {
if sig == syscall.SIGUSR1 {
log.Println("caught USR1 signal")
reloadHooks()
reloadAllHooks()
} else {
log.Printf("caught unhandled signal %+v\n", sig)
}