Socket
Socket
Sign inDemoInstall

keepalive

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.1.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc