Re: Snapper Timeline, use systemd service instead of cron.hourly job
The reason why you lost your changes is because you didn't follow the correct procedure for editing an existing systemd Unit file.
So, for instance all systemd system Unit files will be found in
Code:
/usr/lib/systemd/system/
Never, ever edit the original files in the above location.
Besides what you've found that the files will be replaced if updated, if you make a mistake you will not be able to easily return to the default unless you made a copy of it.
Instead, for whatever Unit file you want to customize,
copy the Unit file to
Code:
/etc/systemd/system/
And edit your copy.
When your system boots up, it will always look for files in this location and if a file with the same name is found with the same name as what is in the default location, your copy will always over-ride.
And, as I described if you ever want to return to the system default, just delete your copy.
HTH,
TSU
Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
Solved a problem recently? Create a wiki page for future personal reference!
Learn something new?
Attended a computing event?
Post and Share!