SA Bugzilla – Bug 7066
Provide a systemd.timer for sa-update
Last modified: 2019-06-24 11:40:33 UTC
Hi, I think providing a systemd.timer for sa-update in spamassassin would be useful. See also here in the arch linux bugtracker: https://bugs.archlinux.org/task/41157 Stefan
Created attachment 5219 [details] service file
Created attachment 5220 [details] timer
Providing an OS specific configuration file such as a systemd.timer would at best be something thrown into contrib. Even the debian directory is showing signs of age and lack of attention which is why we removed the spec file that used to be included. Beyond that, I don't use systemd. This is something you might want to discuss on the dev list because it's just going to languish with generic statements that it's useful while providing no basis for why. Regards, KAM
Systemd services and timers in general are distribution independent. So every (systemd) linux distribution has to create the same service and timer files on their own and include them in their packages. It is a common procedure to ask whether these files could be included in upstream instead so several linux distributions could benefit. There is already an according discussion on the fedora bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1064537 I think including these files just would save time in creating packages, so that's the reason why I used the generic statement "useful". Stefan
Create a README file and I'll commit the files to contrib/systemd.
Thanks. :) I will ask the arch folks to review the files, then I will submit them here again.
Closing stale bug. Even if many distributions use systemd, it's nowhere near a case of "SpamAssassin providing ready systemd files for all". There's too many dependencies and distribution specific things in these.