quick_systemd
v1.0.3
Published
Setup node.js app as systemd service
Downloads
5
Readme
quick-systemd
quick add systemd config file
Installing
npm i -g quick-systemd
Quick start
Install service
- pass settings in command line (see full documentation for all options)
sudo quick-systemd --add --service my-service --cwd /path/to/service --app main.js
- pass all settings in JSON file
sudo quick-systemd --add --settings service.json
Run the service
sudo service my-service start
sudo service my-service stop
sudo service my-service restart
- Uninstall service
sudo quick-systemd --remove --service my-service