[Unit] Description=Stalwart SMTP Conflicts=postfix.service sendmail.service exim4.service ConditionPathExists=/usr/local/stalwart-smtp/etc/config.toml After=network-online.target [Service] Type=simple LimitNOFILE=65536 KillMode=process KillSignal=SIGINT Restart=on-failure RestartSec=5 ExecStart=/usr/local/stalwart-smtp/bin/stalwart-smtp --config=/usr/local/stalwart-smtp/etc/config.toml PermissionsStartOnly=true StandardOutput=syslog StandardError=syslog SyslogIdentifier=stalwart-smtp [Install] WantedBy=multi-user.target