Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow user options for systemd timers #104

Open
jgilbert2017 opened this issue Jan 29, 2022 · 1 comment
Open

allow user options for systemd timers #104

jgilbert2017 opened this issue Jan 29, 2022 · 1 comment

Comments

@jgilbert2017
Copy link

please add support for a system specific /etc/ config file to allow additional options to be set inside the systemd timer script by the command btrfsmaintenance-refresh-cron.sh timer.

my use case is that i want to set RandomizedDelaySec= but i would like to do so without editing btrfsmaintenance-refresh-cron.sh so that i dont lose changes if the script is ever upgraded.

@DaAwesomeP
Copy link

For Systemd you can use overrides: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#id-1.14.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants