Add SIGHUP support

Fixes #352
This commit is contained in:
Cameron Moore 2019-12-25 14:10:57 -06:00
parent cc5cbae14f
commit c6c270c7dd
2 changed files with 11 additions and 3 deletions

View file

@ -44,7 +44,9 @@ Usage of webhook:
Use any of the above specified flags to override their default behavior.
# Live reloading hooks
If you are running an OS that supports USR1 signal, you can use it to trigger hooks reload from hooks file, without restarting the webhook instance.
If you are running an OS that supports the HUP or USR1 signal, you can use it to trigger hooks reload from hooks file, without restarting the webhook instance.
```bash
kill -USR1 webhookpid
kill -HUP webhookpid
```