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

    keepalive

start a process and respawn if it dies


Version published
Weekly downloads
123
decreased by-3.15%
Maintainers
1
Install size
1.34 kB
Created
Weekly downloads
 

Readme

Source

keepalive

Keepalive is a very simple bash script that executes a process and respawns it if it exits.

$ keepalive --logfile my.log --user nobody /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.3.0: --user option
  • 1.2.0: --logfile option
  • 1.1.0: log support and reopen log on HUP
  • 1.0.1: kill launched process on TERM
  • 1.0.0: initial release

FAQs

Last updated on 08 Jun 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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