~stgraber/ubuntu/precise/upstart/upstart-containers

Viewing all changes in revision 1357.

  • Committer: Stéphane Graber
  • Date: 2012-01-31 23:50:06 UTC
  • Revision ID: stgraber@ubuntu.com-20120131235006-nd5inupe2i8vgvuw
Add command running-in-container which checks if container-check is marked as running and also checks the content of /run/container_type. Exits 0 and prints the name of the technology if in a container, exits 1 otherwise.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: