Commit 29f94fd5 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We need to enable sa-update.timer

parent a5742a36
......@@ -7,6 +7,7 @@ all: spamassassin-service sa-update-service sa-update-timer
@echo "$$SPAMASSASSIN_SERVICE" > /lib/systemd/system/spamassassin.service
@echo "$$SA_UPDATE_SERVICE" > /lib/systemd/system/sa-update.service
@echo "$$SA_UPDATE_TIMER" > /lib/systemd/system/sa-update.timer
systemctl enable sa-update.timer
install -d -m700 /etc/mail/spamassassin/sa-update-keys
rm -rf Mail-SpamAssassin-3.4.4
......@@ -78,6 +79,6 @@ OnBootSec=3 min
OnUnitActiveSec=1 day
[Install]
WantedBy=spamassassin.service
WantedBy=timers.target
endef
export SA_UPDATE_TIMER
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment