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

Add a -f/--force option to terminate #218

Open
PawelPlesniak opened this issue Aug 21, 2024 · 3 comments
Open

Add a -f/--force option to terminate #218

PawelPlesniak opened this issue Aug 21, 2024 · 3 comments

Comments

@PawelPlesniak
Copy link
Contributor

Want a graceful shutdown with terminate and a forced one with terminate -f

@PawelPlesniak
Copy link
Contributor Author

Also, RESTAPIChildNode has no terminate

@plasorak
Copy link
Collaborator

I'm not sure I understand. There is no graceful shutdown, we sever the ssh connection and the process receives a SIGHUP, which then terminates the process running underneath it. Under these circumstances, I'm not sure what --force flag would do and how we would implement it in the process manager.

RESTAPIChildNode is a controller object, whereas terminate is a process management command. I don't think daq_applications would respond to a terminate command (nor does a controller).

@PawelPlesniak
Copy link
Contributor Author

What I meant is sending a SIGKILL to each of the processes using -f, I was under the impression that we send SIGQUIT to the processes.

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