1 |
### Spamassassin Rules Updates ### |
2 |
# |
3 |
# http://wiki.apache.org/spamassassin/RuleUpdates |
4 |
# |
5 |
# sa-update automatically updates your rules once per day if a spam daemon like |
6 |
# spamd or amavisd are running. |
7 |
|
8 |
[Unit] |
9 |
Description=Spamassassin Rules Update |
10 |
Documentation=man:sa-update(1) |
11 |
|
12 |
[Service] |
13 |
# Note that the opposite of "yes" is the empty string, NOT "no" |
14 |
# Options for the actual sa-update command |
15 |
# These are added to the channel configuration from |
16 |
# /etc/mail/spamassassin/channel.d/*.conf |
17 |
Environment=OPTIONS=-v |
18 |
|
19 |
# Debug script - send mail even if no update available |
20 |
#Environment=DEBUG=yes |
21 |
|
22 |
# Send mail when updates successfully processed |
23 |
# Default: send mail only on error |
24 |
#Environment=NOTIFY_UPD=yes |
25 |
|
26 |
ExecStart=/usr/share/spamassassin/sa-update.cron |
27 |
|
28 |
SuccessExitStatus=1 |