Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

docker daemon: create file containing PID #378

Merged
merged 1 commit into from Apr 12, 2013
Commits on Apr 11, 2013
  1. docker daemon: create file containing PID

    flavio committed Apr 10, 2013
    Ensure the docker daemon creates a file containing its PID under
    /var/run/docker.pid.
    
    The daemon takes care of removing the pid file when it receives either
    SIGTERM, SIGINT or SIGKILL.
    
    The daemon also refuses to start when the pidfile is found. An
    explanation message is shown to the user when this happens.
    
    This change is required to make docker easier to manage by tools like
    checkproc which rely on this information.