You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
775 B
28 lines
775 B
### Spamassassin Rules Updates ### |
|
# |
|
# http://wiki.apache.org/spamassassin/RuleUpdates |
|
# |
|
# sa-update automatically updates your rules once per day if a spam daemon like |
|
# spamd or amavisd are running. |
|
|
|
[Unit] |
|
Description=Spamassassin Rules Update |
|
Documentation=man:sa-update(1) |
|
|
|
[Service] |
|
# Note that the opposite of "yes" is the empty string, NOT "no" |
|
# Options for the actual sa-update command |
|
# These are added to the channel configuration from |
|
# /etc/mail/spamassassin/channel.d/*.conf |
|
Environment=OPTIONS=-v |
|
|
|
# Debug script - send mail even if no update available |
|
#Environment=DEBUG=yes |
|
|
|
# Send mail when updates successfully processed |
|
# Default: send mail only on error |
|
#Environment=NOTIFY_UPD=yes |
|
|
|
ExecStart=/usr/share/spamassassin/sa-update.cron |
|
|
|
SuccessExitStatus=1
|
|
|