0.0.1 • Published 3 years ago
@jdsp/jp-install-service v0.0.1
Installation
Install this npm package globally:
$ npm install --global @jdsp/install-serviceUpdate it using:
$ npm update --global @jdsp/install-serviceUsage
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-serviceWhy?
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.