Bug 7066 - Provide a systemd.timer for sa-update
Summary: Provide a systemd.timer for sa-update
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 14:18 UTC by Stefan Tatschner
Modified: 2019-06-24 11:40 UTC (History)
3 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status
service file text/plain None Stefan Tatschner [NoCLA]
timer text/plain None Stefan Tatschner [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Tatschner 2014-07-10 14:18:25 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
Comment 1 Stefan Tatschner 2014-07-10 14:23:16 UTC
Created attachment 5219 [details]
service file
Comment 2 Stefan Tatschner 2014-07-10 14:23:43 UTC
Created attachment 5220 [details]
timer
Comment 3 Kevin A. McGrail 2014-07-10 14:28:44 UTC
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
Comment 4 Stefan Tatschner 2014-07-10 14:53:59 UTC
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
Comment 5 Kevin A. McGrail 2014-07-10 14:59:04 UTC
Create a README file and I'll commit the files to contrib/systemd.
Comment 6 Stefan Tatschner 2014-07-10 15:30:52 UTC
Thanks. :)
I will ask the arch folks to review the files, then I will submit them here again.
Comment 7 Henrik Krohns 2019-06-24 11:40:33 UTC
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.