New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

foreman

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foreman - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

assets/foreman-ls.png

2

lib/upstart.js

@@ -44,3 +44,3 @@ var ppath = require('path')

var path = outdir + "/" + conf.application + "-" + conf.process + "-" + conf.number + ".conf";
render('foreman-APP.conf', conf, writeout(path) )
render('foreman-APP-N.conf', conf, writeout(path) )
}

@@ -47,0 +47,0 @@

{
"name": "foreman",
"version": "0.0.13",
"version": "0.0.14",
"homepage": "http://nodefly.github.com/node-foreman/",

@@ -5,0 +5,0 @@ "description": "Node Implementation of Foreman",

@@ -39,17 +39,9 @@ # Node Foreman

/
├─ .env
├─ package.js
├─ server.js # or whatever you call your application
├─ Procfile
![List Foreman Directory](//raw.github.com/NodeFly/node-foreman/master/assets/foreman-ls.png)
Once your Procfile is defined, run your application with `nf start`:
$ nf start
18:51:12: web.1 | Web Server started listening on 0.0.0.0:5000
18:51:13: api.1 | Api Server started listening on 0.0.0.0:5100
18:51:13: log.1 | Log Server started listening on 0.0.0.0:5200
![Start Foreman](//raw.github.com/NodeFly/node-foreman/master/assets/foreman-start.png)
Node Foreman _always_ start in the foreground and expects your applications
Node Foreman _always_ starts in the foreground and expects your applications
to do the same. If your processes exit, Node Foreman will assume an error

@@ -174,4 +166,4 @@ has ocurred and shut your application down.

$ sudo start JOBNAME
$ sudo stop JOBNAME
$ sudo start foreman
$ sudo stop foreman

@@ -181,6 +173,8 @@ The export will occur with whatever environmental variables are

### Advanced Exports
You can specify the type and number of processes exported using
the `type=num` syntax:
$ nf export -a JOBNAME -o /etc/init web=2,api=2
$ nf export web=2,api=2

@@ -192,2 +186,5 @@ Use `-u <USER>` to have the exported job run as `USER`.

If you want to call your upstart job something other than foreman,
use `-a <JOBNAME>` and manage your jobs with `sudo start <JOBNAME>`.
## Scalability

@@ -194,0 +191,0 @@

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