docker container fails to start after stopping

From: Mark Deneen <mdeneen(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: docker container fails to start after stopping
Date: 2018-01-02 18:42:50
Message-ID: CAP6JJ88vsg5kGL6h9qdQg-8YiUq9vtqUSDZ=uNwSUuvBJAsWmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I submitted a pull request on github, but it appears that you prefer
to use a mailing list for such things.

Attached is a patch to correct the behavior in the Docker container.

The problem is that apache generates httpd.pid at startup and it is
never removed. When the container is stopped, the file remains. At
startup httpd fails to start because it believes that httpd is already
running.

The patch simply deletes this file before starting httpd.

-M

Attachment Content-Type Size
0001-remove-httpd.pid-before-starting-httpd.patch text/x-patch 830 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2018-01-03 12:54:48 pgAdmin 4 commit: Enable webpackaging the pgadmin javascript files in d
Previous Message Murtuza Zabuawala 2017-12-28 09:38:36 Re: [pgAdmin4][Patch]: Adding connection status in Query tool