mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Clean any leftover pid file from a stop (#700)
* Clean any leftover pid file from a stop * More time needed for travis. It can be busy and fail tests.
This commit is contained in:
parent
a2f6591212
commit
1c75cabcfd
2
Makefile
2
Makefile
|
@ -188,7 +188,7 @@ fixtures:
|
|||
|
||||
docker exec mail_override_hostname /bin/sh -c "nc 0.0.0.0 25 < /tmp/docker-mailserver-test/email-templates/existing-user1.txt"
|
||||
# Wait for mails to be analyzed
|
||||
sleep 40
|
||||
sleep 60
|
||||
|
||||
tests:
|
||||
# Start tests
|
||||
|
|
|
@ -1012,6 +1012,9 @@ function fix() {
|
|||
$_func
|
||||
[ $? != 0 ] && defunc
|
||||
done
|
||||
|
||||
notify 'taskgrg' "Remove leftover pid files from a stop/start"
|
||||
rm -rf /var/run/*.pid /var/run/*/*.pid
|
||||
}
|
||||
|
||||
function _fix_var_mail_permissions() {
|
||||
|
|
Loading…
Reference in a new issue