Skip to content

Adds required parameter when numprocs > 1 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2015

Conversation

tim-massey
Copy link

Sorry, I didnt add this before. I've tested this on various Ubuntu's now.

@seocam
Copy link
Member

seocam commented Oct 27, 2015

uhn... not sure if the process number it's a good name.
What about use <app_name>_<process_number> ?

@tim-massey
Copy link
Author

I did have that originally but supervisor doubled up. This is what it ends up looking like:

supervisor

My apps are named resque.* defined like so:

supervisor::app { 'resque.search':
    user         => 'hardtofind',
    numprocs     => 2,
    environment => {
      'REDIS_BACKEND' => 'localhost',
      'QUEUE' => 'search.index',
    },
    command      => '/some/path/bin/resque',
    directory    => '/some/path',
  }

seocam added a commit that referenced this pull request Oct 29, 2015
Adds required parameter when numprocs > 1
@seocam seocam merged commit f010925 into TracyWebTech:master Oct 29, 2015
@seocam
Copy link
Member

seocam commented Oct 29, 2015

Ack

@seocam
Copy link
Member

seocam commented Oct 30, 2015

New version released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants