Description of problem: Please update your package according to the packing guidelines http://fedoraproject.org/wiki/Packaging:CronFiles Thanks Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 779136 [details] Spec file fixes patch
I'll investigate the possibility to replace cron files with systemd timer files. Moreover, there's RFE for that in upstream: https://github.com/openSUSE/snapper/issues/18
Well there are some scalability issues with systemd timers that have not been quite sorted out yet which we will probably be discussing in the systemd hackfest that will take place in BRNO after a week or so and and we have not made changes to the packaging guidelines for timer units. Upstream is using "for CONFIG in $SNAPPER_CONFIGS" which means a) it needs to be template units and b) the sysconfig environment file would be dropped for this in the cron script and separate template units created for each task {number,timeline,empty-pre-post,create}) and you will have change the requirements to systemd according to [1] You can try these unit as a base for the template units. ### Begin snapper-timeline-create.service ### [Unit] Description=Snapper Timeline Creator Documentation=man:snapper(8) [Service] ExecStart=/usr/sbin/snapper --config=myconfig --quiet create --description="timeline" --cleanup-algorithm="timeline" ### End snapper-timeline-create.service ### ### Begn snapper-timeline-create.service ### [Unit] Description=Snapper Timeline Create Time Trigger Documentation=snapper(8) [Timer] Unit=snapper-timeline-create.service OnBootSec=1hour OnUnitActiveSec=1h [Install] WantedBy=multi-user.target ### End snapper-timeline-create.timer ### 1. http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd