Ignore failures when stopping postfix

This commit is contained in:
Marcus Bointon 2022-12-05 10:39:42 +01:00
parent 5419bf1e4b
commit 7a6ab223d8
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
1 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,7 @@ jobs:
custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F")
# Install postfix and automatically retry if the install failed, which happens reguarly.
# We don't care if stopping postfix fails anyway
# @link https://github.com/marketplace/actions/retry-step
- name: Install postfix
uses: nick-invision/retry@v2
@ -147,7 +148,7 @@ jobs:
retry_wait_seconds: 8
command: |
sudo apt-get install -y -qq postfix qmail
sudo service postfix stop
sudo service postfix stop || true
- name: Set up sendmail
run: |