mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-22 21:32:32 +00:00
Started work on multi file hooks loading
This commit is contained in:
parent
07f166616c
commit
8207c6cf12
3 changed files with 116 additions and 45 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue