diff --git a/install.sh b/install.sh index f14e1007..c347db31 100644 --- a/install.sh +++ b/install.sh @@ -137,7 +137,7 @@ Description=Stalwart Mail Server Server Conflicts=postfix.service sendmail.service exim4.service ConditionPathExists=__PATH__/etc/config.toml After=network-online.target - + [Service] Type=simple LimitNOFILE=65536 @@ -147,10 +147,8 @@ Restart=on-failure RestartSec=5 ExecStart=__PATH__/bin/stalwart-mail --config=__PATH__/etc/config.toml PermissionsStartOnly=true -StandardOutput=syslog -StandardError=syslog SyslogIdentifier=stalwart-mail - + [Install] WantedBy=multi-user.target EOF diff --git a/resources/systemd/stalwart-mail.service b/resources/systemd/stalwart-mail.service index 10f70bb1..aba3658e 100644 --- a/resources/systemd/stalwart-mail.service +++ b/resources/systemd/stalwart-mail.service @@ -3,7 +3,7 @@ Description=Stalwart Mail Server Server Conflicts=postfix.service sendmail.service exim4.service ConditionPathExists=__PATH__/etc/config.toml After=network-online.target - + [Service] Type=simple LimitNOFILE=65536 @@ -13,9 +13,7 @@ Restart=on-failure RestartSec=5 ExecStart=__PATH__/bin/stalwart-mail --config=__PATH__/etc/config.toml PermissionsStartOnly=true -StandardOutput=journal -StandardError=journal SyslogIdentifier=stalwart-mail - + [Install] WantedBy=multi-user.target