Re: Systemd migration: opinion and questions
Rich Freeman <[email protected]> Sun, 1 Mar 2015 14:13:53 -0500
| Newsgroups | gmane.linux.gentoo.amd64 |
|---|---|
| Message-ID | <CAGfcS_n1_8=Sx3F-3b_tS5cLXXxHs9Ru7s8nJWVL-mu=X=e8ZA@mail.gmail.com> |
On Sun, Mar 1, 2015 at 1:20 PM, Marc Joliet <[email protected]> wrote: > > Regardless: thoughts? I'd probably just do this: > Am Sun, 1 Mar 2015 08:34:19 -0500 > schrieb Rich Freeman <[email protected]>: >> >> The timer keeps running if you set the dependency on the service. So, >> next time the timer runs, it will try again. You might want to just >> set an hourly job and have it check for a successful run in the last >> day or whatever. >> You could of course trigger this from either the mount or hourly. Anytime you mount the drive or every hour systemd will run the service, and the service will see if it managed to do a backup/etc in the last day/week/whatever, and then run if appropriate. -- Rich