Socket
Book a DemoInstallSign in
Socket

generic-service-handler

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

generic-service-handler

easy service handling

unpublished
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Project status

npm version downloads build status dependencies development dependencies peer dependencies documentation website

Use case

This module provides generic service handling for each program supporting standard process signals. It's inspired by the systemd service handling workflow and can easily used in any Unix environment like debian, ubuntu, gentoo or cygwin. In general you only have to replace the word "generic" to your specific application name (in file name and in fie content) to start.

Usage

Print usage message:

./genericServiceHandler.sh

Start service:

./genericServiceHandler.sh start

Show the last 40 lines of standard and error output:

./genericServiceHandler.sh status

Stop service:

./genericServiceHandler.sh stop

Restart service:

./genericServiceHandler.sh restart

Keywords

bash

FAQs

Package last updated on 30 Dec 2017

Did you know?

Socket

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