From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 88D7F138A1B for ; Sun, 1 Mar 2015 19:13:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E768AE0887; Sun, 1 Mar 2015 19:13:54 +0000 (UTC) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42832E0877 for ; Sun, 1 Mar 2015 19:13:54 +0000 (UTC) Received: by iecat20 with SMTP id at20so42802117iec.12 for ; Sun, 01 Mar 2015 11:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=ZhLc2l/wQopbb/uLrzHqbtr5q8dWieLfuhOhT4Ld8PA=; b=JUc4YfV2ggDujzJB3wXPnddmmfyQObCzVsUZqMH30PlV/iZQQPhK7cdz80iypmUgo1 h/9xuyMZpsp9lJ03GdzFeFMM5wAln6Vc1weZtqajbV7PgU6/C2Yvt446Vz3R9isZ3k5X uXKe/T5sG7D+3kburY1Z9CX/xS/iUFqKjMwC0lKmegcVLHG2g6e8wfkRz0Ted5q+vmvk v6E8/TqP4NASHjiCrC6ffSGJ8sNkalCGJ9Ewg9bPHHfGrb7tQaDi2zNE1JZL40Ff1Nlk fQjQNNoqcGOSvSxOB8sJxhYXdixUAsJAOOL6tRePI4KM2T5z2nHIAXAEKEB4BqenUnmg NrpA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.42.130.74 with SMTP id u10mr26344199ics.61.1425237233484; Sun, 01 Mar 2015 11:13:53 -0800 (PST) Sender: freemanrich@gmail.com Received: by 10.107.182.136 with HTTP; Sun, 1 Mar 2015 11:13:53 -0800 (PST) In-Reply-To: <20150301192002.175ba457@marcec.fritz.box> References: <20150224211545.50495cc0@marcec.fritz.box> <20150225085035.4618f4cd@marcec.fritz.box> <20150225192508.30cb175a@marcec.fritz.box> <20150301134821.205b6f69@marcec.fritz.box> <20150301192002.175ba457@marcec.fritz.box> Date: Sun, 1 Mar 2015 14:13:53 -0500 X-Google-Sender-Auth: xhF2YrMqx_D1-XJfw5N7S0zjEEo Message-ID: Subject: Re: [gentoo-amd64] Systemd migration: opinion and questions From: Rich Freeman To: gentoo-amd64@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 96b66f21-5364-426d-b59d-5733aa1fcb3f X-Archives-Hash: c454e11aac0f5d7ba2725dfa55b3dd71 On Sun, Mar 1, 2015 at 1:20 PM, Marc Joliet wrote: > > Regardless: thoughts? I'd probably just do this: > Am Sun, 1 Mar 2015 08:34:19 -0500 > schrieb Rich Freeman : >> >> 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