![](https://seccdn.libravatar.org/avatar/5e70f769092f3372f14b4f2df58a17e1.jpg?s=120&d=mm&r=g)
Darryl Gregorash composed on 2024-01-14 14:34 (UTC-0600):
Carlos E. R. wrote:
It is an editor, no need to delete the override file manually. Still, the file would not work as intended, so edit again to:
[Timer] OnCalendar= OnCalendar=Sat *-*-* 4:00:00
I'm not sure of the rationale for this. The first line clears out all previous timers, which will be accomplished by simply restarting the service.
I find the two lines above the match to my original edit line (OnCalendar=Sat *-*-* 4:00:00) totally unintuitive. I would expect anything on a line preceding an "=" in the editing head to replace its match in the original below, with no other changes needed. Anything more, including a header, would constitute an addition, not a modification (aka edit or change). I sympathize with you. The systemd man pages and all related man pages are about as clear as mud. When I found it necessary to make changes to my boinc-client service file, I was able to find a good document that clearly described everything. Unfortunately, I seem to have forgotten to bookmark it, and I don't remember what search terms I used when I found it. It is clear that editing a service file is not as simple as things used to be under SystemV. With systemd, everything needs to be part of a
On 2024-01-14 14:58, Felix Miata wrote: section headed by a specific title, as above. One can no longer simply drop a new line anywhere and expect it to work. I'll keep looking for that documentation that I used previously, and when I find it again (hopefully soon), I'll post it in here so everyone will be able to use it. Wish me luck :D ! Meanwhile, if in doubt, all I can suggest is that you just ask first in here, and I'm sure someone will be able to give you a clear explanation.