Gentoo Archives: gentoo-amd64

From: Rich Freeman <rich0@g.o>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Systemd migration: opinion and questions
Date: Sun, 01 Mar 2015 19:13:57
Message-Id: CAGfcS_n1_8=Sx3F-3b_tS5cLXXxHs9Ru7s8nJWVL-mu=X=e8ZA@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Systemd migration: opinion and questions by Marc Joliet
1 On Sun, Mar 1, 2015 at 1:20 PM, Marc Joliet <marcec@×××.de> wrote:
2 >
3 > Regardless: thoughts?
4
5 I'd probably just do this:
6 > Am Sun, 1 Mar 2015 08:34:19 -0500
7 > schrieb Rich Freeman <rich0@g.o>:
8 >>
9 >> The timer keeps running if you set the dependency on the service. So,
10 >> next time the timer runs, it will try again. You might want to just
11 >> set an hourly job and have it check for a successful run in the last
12 >> day or whatever.
13 >>
14
15 You could of course trigger this from either the mount or hourly.
16 Anytime you mount the drive or every hour systemd will run the
17 service, and the service will see if it managed to do a backup/etc in
18 the last day/week/whatever, and then run if appropriate.
19
20 --
21 Rich

Replies

Subject Author
[gentoo-amd64] Re: Systemd migration: opinion and questions Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-amd64] Systemd migration: opinion and questions Marc Joliet <marcec@×××.de>