mail-filter/spamassassin: remove redundant systemd service file lines.
authorMichael Orlitzky <mjo@gentoo.org>
Sun, 20 Aug 2017 14:49:57 +0000 (10:49 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sun, 20 Aug 2017 14:49:57 +0000 (10:49 -0400)
This commit drops the StandardOutput=syslog and StandardError=syslog
lines from the new systemd service file. The defaults for those two
options are now "journal" which will eventually hit syslog anyway if
the user so desires. Consequently, we drop After=syslog.target too.

Thanks to grawity on Freenode for the tip.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

mail-filter/spamassassin/files/spamassassin.service-r2

index ecb9ba39216755592f0f80294eafad5f0a073271..8032057178460135b56330dfa43ed9f44e4ffbeb 100644 (file)
@@ -1,14 +1,12 @@
 [Unit]
 Description=Spamassassin daemon
-After=syslog.target network.target
+After=network.target
 
 [Service]
 ExecStart=/usr/sbin/spamd $SPAMD_OPTS
 ExecReload=/bin/kill -HUP $MAINPID
 User=spamd
 Group=spamd
-StandardOutput=syslog
-StandardError=syslog
 
 [Install]
 WantedBy=multi-user.target