dockerfiles
dockerfiles copied to clipboard
[ubuntu-dev] maybe add a "restart supervisor" command to all projects?
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!
Instead of adding it to all janitor.json files, it should probably be hardcoded in the plugin ?
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.