keepalive
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "keepalive", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "start a process and respawn if it dies", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -7,3 +7,16 @@ keepalive | ||
```sh | ||
$ keepalive /bin/my-service --options foo >> my.log | ||
$ KEEP_LOG=my.log keepalive /bin/my-service --options foo | ||
``` | ||
Signals | ||
------- | ||
Keepalive recognizes the following signals: | ||
* `HUP`: reopen log files | ||
* `TERM`: send TERM to process group (terminates service) | ||
Change Log | ||
---------- | ||
* `1.1.0`: log support and reopen log on `HUP` | ||
* `1.0.1`: kill launched process on `TERM` | ||
* `1.0.0`: initial release |
Sorry, the diff of this file is not supported yet
894
22