Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

add-to-systemd

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-to-systemd

Small command line tool to simply add a service to systemd

  • 2.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
increased by15.79%
Maintainers
1
Weekly downloads
 
Created
Source

add-to-systemd

Small command line tool to simply add a service to systemd

npm install -g add-to-systemd

Usage

# add a node server to systemd (will start it on boot)
add-to-systemd my-new-service "$(which node) server.js --port 8080"
# lets start it right away
systemctl start my-new-service

Full list of options include

Usage: add-to-systemd name [options] command...

  --user, -u  [user]      User the service will run as
  --cwd,  -c  [dir]       Set the cwd of the service (Defaults to the current directory)
  --nice, -n  [integer]   Set the process niceness
  --env,  -e  [name=val]  Add env vars to the service

License

MIT

FAQs

Package last updated on 06 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc