keepalive
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "keepalive", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "start a process and respawn if it dies", | ||
@@ -5,0 +5,0 @@ "bin": { |
keepalive | ||
========= | ||
Keepalive is a *very* simple bash script that executes a process and respawns | ||
it if it exits. | ||
Keepalive is a simple bash script that executes a process and respawns it if it | ||
exits. | ||
@@ -9,5 +9,17 @@ Usage | ||
```sh | ||
keepalive <user> <log> <cmd> [<cmdopts>] | ||
keepalive [--num=<num>] <user> <log> <cmd> [<cmdopts>] | ||
Example: | ||
ARGUMENTS | ||
user Username which ia used to run service | ||
log Path to log file | ||
cmd Path to command | ||
cmdopts Options to pass to command | ||
OPTIONS | ||
--num=<num> Number of instances to spawn (default 1) | ||
``` | ||
Example | ||
------- | ||
```sh | ||
$ keepalive nobody my.log /bin/my-service --options foo | ||
@@ -25,2 +37,4 @@ ``` | ||
---------- | ||
* `2.1.0`: --num option | ||
* `2.0.1`: fix issues reopening log file | ||
* `2.0.0`: required args | ||
@@ -27,0 +41,0 @@ * `1.3.1`: fix issues killing process group |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
3334
45
1