nodejitsu/forever — Issue #260: Spawning applications based on a directory of config files
Author: mattrobenolt
Created: 2012-03-09 19:43:00+00:00
State: open

Proposing this would allow a more traditional deployment method with a "sites-available".

I envision a command such as `forever vhosts /etc/forever/sites-available` and the directory would contain a set of *.json config files.

Each config would be structured similar to:

```javascript
{
"script": "/var/www/app.js",
"accessLog": "/var/log/my-app/access.log",
"errorLog": "/var/log/my-app/access.log",
"options": {
"max": 3
}
}
```

All of these options would be passed along right to a start command, simulating a bunch of `forever start ...` commands.