diff --git a/install.sh b/install.sh index d1c1b7c2..7cafc385 100644 --- a/install.sh +++ b/install.sh @@ -138,7 +138,7 @@ create_service_linux() { local _dir="$1" cat < /etc/systemd/system/stalwart-mail.service [Unit] -Description=Stalwart Mail Server Server +Description=Stalwart Mail Server Conflicts=postfix.service sendmail.service exim4.service ConditionPathExists=__PATH__/etc/config.toml After=network-online.target diff --git a/resources/systemd/stalwart-mail.service b/resources/systemd/stalwart-mail.service index 12357ab0..376a083c 100644 --- a/resources/systemd/stalwart-mail.service +++ b/resources/systemd/stalwart-mail.service @@ -1,5 +1,5 @@ [Unit] -Description=Stalwart Mail Server Server +Description=Stalwart Mail Server Conflicts=postfix.service sendmail.service exim4.service ConditionPathExists=__PATH__/etc/config.toml After=network-online.target