dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

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

Open jankeromnes opened this issue 7 years ago • 2 comments

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!

jankeromnes avatar Jan 09 '18 14:01 jankeromnes

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

nt1m avatar Jan 09 '18 19:01 nt1m

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.

notriddle avatar Jan 09 '18 19:01 notriddle