systemd-servicify

Turns node app into systemd service

Usage no npm install needed!

<script type="module">
  import systemdServicify from 'https://cdn.skypack.dev/systemd-servicify';
</script>

README

SYSTEMD-SERVICIFY

Description

Easily run a nodejs script as systemd service

Installation

npm install -g systemd-servicify

Usage

servicify [options] [entrypoint]

for example

servicify -s my-app app.js

will create and start a service called my-app.service, owned by current user that runs app.js script.

Service is created under /etc/systemd/system directory