Add systemd timers to run the fixes periodically #3
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TROMjaro/fixes-package#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "systemd-timers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
011681741f
tobe2b24d26d
There's no success in controlling the systemd start/stop for user timers, though they work perfectly fine on the user level of the systemd (Thanks a lot for the hint @rokosun !)
To switch to the timers though we need to modify the fix scripts, since they store a state in the loop and to remove the loop, we need to store previous values somewhere else (for example, in the /tmp files) for them to survive between the timer ticks.
a9a7ce9bad
to90f98c64cc
Yes, but do we need to use timers for the scripts that store values between loops? For this purpose the while loop we currently use would be enough, this also means that the entire script don't have to be rerun, only the part inside the while loop needs to be rerun which makes it more efficient.
True, especially after an introduction of the fix you've made for subscribing on the settings changes, the timers have no relevancy anymore. I will close this PR after the new approaches are tested enough 😉
Pull request closed