Skip to content
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

Pass arguments to program when starting a job? #1023

Closed
mpdude opened this issue Nov 29, 2017 · 4 comments
Closed

Pass arguments to program when starting a job? #1023

mpdude opened this issue Nov 29, 2017 · 4 comments
Labels

Comments

@mpdude
Copy link

mpdude commented Nov 29, 2017

Is is possible to pass (additional) arguments to a program when starting a job?

Like supervisorctl start myprogram extra-arg-1 extra-arg-2?

I'd like supervisord to monitor a couple of jobs, but the arguments are not known until the program has to be started.

In case this should be possible (and I missed the docs section?), can several instances of a single program with different arguments run concurrently?

@mnaberez
Copy link
Member

Please ask questions about using Supervisor on the supervisor-users mailing list. We use this issue tracker mainly for bugs in Supervisor itself.

@mpdude
Copy link
Author

mpdude commented Nov 29, 2017

Oops, sorry!

@gusostow
Copy link

(Replying here because it looks like the mailing list has been down for quite some time.)

Is there any plan to add this feature? Would it be a welcome contribution?

@iahim
Copy link

iahim commented Feb 14, 2023

Why not create a YAML file where you add these parameters and your program/app will read that file each time it is started?

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

No branches or pull requests

4 participants