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

Additional process commands #65

Closed
ryansch opened this issue Jun 19, 2014 · 4 comments
Closed

Additional process commands #65

ryansch opened this issue Jun 19, 2014 · 4 comments

Comments

@ryansch
Copy link
Contributor

ryansch commented Jun 19, 2014

It would be great to be able to 'reload' a process. Should we add a dedicated reload or a system to add user defined commands via dsl?

@ryansch
Copy link
Contributor Author

ryansch commented Jun 19, 2014

Example use case:
Haproxy. I can either do a soft restart with the -sf switch or a hard restart if I want to apply new configuration options now.

@kostya
Copy link
Owner

kostya commented Jun 19, 2014

You mean reload config? it workied now by load.
Or you mean alias for stop; start ?

@kostya
Copy link
Owner

kostya commented Jun 19, 2014

understand now, used defined command.
something like this?

process :bla do
  command :reload, "/bin/haproxy ..."
end

then
eye command reload bla

@ryansch
Copy link
Contributor Author

ryansch commented Jun 19, 2014

Right or a series of signals. Unicorn supports a ton of signals for different workflows: http://unicorn.bogomips.org/SIGNALS.html

command :waste_time, [:TTIN, 10.seconds, :TTOU]

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

No branches or pull requests

2 participants