Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Add systemd timer units #787

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ludvigng
Copy link

Hello!

I've made these systemd timer units, they are based on snappers timer units but should do the same job as the current cron-job, with the added benefit of also running on a missed event, such as a suspended computer. Install to /usr/lib/systemd/system and enable with systemctl enable timeshift.timer

The stuff added under ExecStart in the service-file was added to the snapper service to fix issues with LVM and things like that. I couldn't find any documentation for it in systemd.

These are based on snappers timer units, but should do the same job as the current cron-job, with the added benefit of also running on a missed event, such as a suspended computer. Install to /usr/lib/systemd/system and enable with systemctl enable timeshift.timer
@ludvigng ludvigng mentioned this pull request Aug 25, 2021
@Fxzzi
Copy link

Fxzzi commented Dec 21, 2021

I hope if this gets added, support is still kept for the old cron-jobs, since many users of timeshift, like me, do not use systemd.

@Cherkah
Copy link

Cherkah commented Dec 24, 2021

good news if this is added (optional dep...), like this one'll be abled to use systemd-cron paket (Arch -AUR)

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

Successfully merging this pull request may close these issues.

3 participants