0.0.1 • Published 1 year ago

@jdsp/jp-install-service v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Installation

Install this npm package globally:

$ npm install --global @jdsp/install-service

Update it using:

$ npm update --global @jdsp/install-service

Usage

Install Linux services from service files located in the current working directory. The command will symlink the service files to the correct system location (/etc/systemd/system/). It will also enable and restart the services and show you the installation logs. Your service files must have the postfix ".service" to be found and installed e.g.:

$ ls
my.service
$ jp-install-service

Why?

I have quite a few projects that run as services on my servers and this package comes in handy to install, enable and test them quickly directly from the source directories. I'm consolidating all my code into npms for consistency and managability.