jwilder/docker-gen — pull request #24 by JustAdam (2014-09-18 18:48:30+00:00)
Title: Add option to restart a docker container in -notify

This solves issue #22 (not completely, but provides the requested feature). I haven't added full access to the Docker API here as I think the only reason to access it, is for restarting containers.

So to restart a container, specify `-notify "restart-container CONTAINER-ID"`. This syntax feels a bit clunky, but adding an additional flag does as well.