Skip to content

Spawning applications based on a directory of config files #260

Description

@mattrobenolt

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:

{
  "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.

Also: I'm willing to develop the feature myself, I just want to make sure it's done in a way that is in line with the rest of the project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions