1.0.3 • Published 4 years ago

quick_systemd v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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