FS#41157 - [spamassassin] Provide a systemd timer for sa-update
Attached to Project:
Arch Linux
Opened by Stefan Tatschner (rumpelsepp) - Thursday, 10 July 2014, 10:32 GMT
Last edited by Florian Pritz (bluewind) - Monday, 07 August 2017, 08:27 GMT
Opened by Stefan Tatschner (rumpelsepp) - Thursday, 10 July 2014, 10:32 GMT
Last edited by Florian Pritz (bluewind) - Monday, 07 August 2017, 08:27 GMT
|
Details
Hi,
I think providing a systemd.timer for sa-update in spamassassin would be useful. I have attached my effort as a starting point. |
This task depends upon
Closed by Florian Pritz (bluewind)
Monday, 07 August 2017, 08:27 GMT
Reason for closing: Won't implement
Monday, 07 August 2017, 08:27 GMT
Reason for closing: Won't implement
- should the timer run daily? hourly? something else?
- is the service file complete? I think it should depend on internet connection. How do I include this correctly?
spamassassin-ruleupdates.serv... (0.2 KiB)
Correct me if I'm wrong please.
For sa-compile: I think we should include recompiling. Can I include this in spamassassin-rulesupdate.service or is it better to create another service?
There might be people that don't compile their rules (for whatever reason) so don't force them to by putting it into the service. You should also think about the other usecases mentioned in the linked bugreport (multiple update channels; run at a different interval than the one you specifiy). Most things could probably be solved by telling users to override the service file, but let's be honest, that's way more complicated than just using good old "crontab -e".
Really not worth it IMHO.