2.2.0 • Published 4 years ago

add-to-systemd v2.2.0

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

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

2.2.0

4 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago