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

[ubuntu-dev] maybe add a "restart supervisor" command to all projects? #131

Open
jankeromnes opened this issue Jan 9, 2018 · 2 comments

Comments

@jankeromnes
Copy link
Member

jankeromnes commented Jan 9, 2018

It may be useful to allow Janitor developers to easily restart their Supervisor daemons (e.g. if they modified their /etc/supervisord.conf file).

It could look like this:

"scripts": {
  "Restart Supervisor": "sudo kill -HUP 1"
}

Thank you @notriddle for this useful trick!

@nt1m
Copy link
Member

nt1m commented Jan 9, 2018

Instead of adding it to all janitor.json files, it should probably be hardcoded in the plugin ?

@notriddle
Copy link
Collaborator

notriddle commented Jan 9, 2018

Or add a "restart container" button to the advanced section of the Containers page? docker restart-ing it would work just as well as HUP-ing the supervisor.

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

3 participants