Comparing version 0.0.2 to 0.0.3
#!/usr/bin/env node | ||
var env = process.env; | ||
console.log(env); | ||
console.log("Starting Server"); | ||
@@ -6,0 +6,0 @@ console.log("Listening to Port", env.PORT); |
@@ -291,3 +291,3 @@ #!/usr/bin/env node | ||
mu | ||
.compileAndRender('nodefly.conf', conf) | ||
.compileAndRender('foreman.conf', conf) | ||
.on('data', function (data) { | ||
@@ -306,3 +306,3 @@ out += data; | ||
mu | ||
.compileAndRender('nodefly-APP.conf', conf) | ||
.compileAndRender('foreman-APP.conf', conf) | ||
.on('data', function (data) { | ||
@@ -321,3 +321,3 @@ out += data; | ||
mu | ||
.compileAndRender('nodefly-APP-N.conf', conf) | ||
.compileAndRender('foreman-APP-N.conf', conf) | ||
.on('data', function (data) { | ||
@@ -365,4 +365,2 @@ out += data; | ||
console.log(procs) | ||
for(key in req){ | ||
@@ -369,0 +367,0 @@ |
{ | ||
"name": "foreman", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"homepage": "http://nodefly.github.com/node-foreman/", | ||
"description": "Node Implementation of Foreman", | ||
@@ -8,2 +9,3 @@ "main": "index.js", | ||
"license": "BSD", | ||
"keywords": ["foreman","upstart","commandline","env"], | ||
"bin": { | ||
@@ -20,3 +22,11 @@ "nf": "index.js" | ||
"url" : "https://github.com/NodeFly/node-foreman.git" | ||
} | ||
} | ||
}, | ||
"bugs": { | ||
"url" : "https://github.com/NodeFly/node-foreman/issues", | ||
"email" : "jacob@nodefly.com" | ||
}, | ||
"engines" : { | ||
"node" : ">=0.6.9" | ||
}, | ||
"preferGlobal": true | ||
} |
@@ -100,4 +100,25 @@ # Node Foreman | ||
$ nf export upstart -a JOBNAME -o /etc/init | ||
$ nf export | ||
Loaded ENV .env File as JSON Format | ||
Wrote : ./foreman-web-1.conf | ||
Wrote : ./foreman-web.conf | ||
Wrote : ./foreman-api-1.conf | ||
Wrote : ./foreman-api.conf | ||
Wrote : ./foreman-log-1.conf | ||
Wrote : ./foreman-log.conf | ||
Wrote : ./foreman.conf | ||
You can inspect your upstart files before placing them in the right | ||
directory, or have foreman do it for you: | ||
$ sudo nf export -o /etc/init | ||
Loaded ENV .env File as JSON Format | ||
Wrote : /etc/init/foreman-api-1.conf | ||
Wrote : /etc/init/foreman-web.conf | ||
Wrote : /etc/init/foreman-api.conf | ||
Wrote : /etc/init/foreman-log.conf | ||
Wrote : /etc/init/foreman-log-1.conf | ||
Wrote : /etc/init/foreman-web-1.conf | ||
Wrote : /etc/init/foreman.conf | ||
Start and stop your jobs with | ||
@@ -114,3 +135,3 @@ | ||
$ nf export upstart -a JOBNAME -o /etc/init web=2,api=2 | ||
$ nf export -a JOBNAME -o /etc/init web=2,api=2 | ||
@@ -117,0 +138,0 @@ Use `-u <USER>` to have the exported job run as `USER`. |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
15870
1
141