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"
|
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
|
# Wait for mails to be analyzed
|
||||||
sleep 40
|
sleep 60
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
# Start tests
|
# Start tests
|
||||||
|
|
|
@ -1012,6 +1012,9 @@ function fix() {
|
||||||
$_func
|
$_func
|
||||||
[ $? != 0 ] && defunc
|
[ $? != 0 ] && defunc
|
||||||
done
|
done
|
||||||
|
|
||||||
|
notify 'taskgrg' "Remove leftover pid files from a stop/start"
|
||||||
|
rm -rf /var/run/*.pid /var/run/*/*.pid
|
||||||
}
|
}
|
||||||
|
|
||||||
function _fix_var_mail_permissions() {
|
function _fix_var_mail_permissions() {
|
||||||
|
|
Loading…
Reference in New Issue