GNU bug report logs - #75045
[PATCH] services: restic-backup: Implement as a Shepherd timer.

Previous Next

Package: guix-patches;

Reported by: Giacomo Leidi <goodoldpaul <at> autistici.org>

Date: Mon, 23 Dec 2024 10:47:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: paul <goodoldpaul <at> autistici.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 75045 <at> debbugs.gnu.org
Subject: [bug#75045] [PATCH] services: restic-backup: Implement as a Shepherd timer.
Date: Sun, 19 Jan 2025 23:02:26 +0100
[Message part 1 (text/plain, inline)]
Hi Ludo',

I should have addressed your comments, thank you for your help! I'm 
about to send a v2.

On 12/24/24 11:40, Ludovic Courtès wrote:
>> +                          (command
>> +                           (list
>> +                            (string-append #+bash-minimal "/bin/bash")
>> +                            "-l" "-c"
>> +                            (string-append "restic-guix backup " #$name))
> Why go through bash?  Would it be possible to execute ‘restic-guix’
> directly?
There may be some better way but we go through bash, instead of 
executing restic-guix directly, because the login shell gives us the 
correct user environment that some backends require, such as rclone.

I hope this clarifies and I'm definitely open to change this in case we 
find a better solution.

cheers,

giacomo
[Message part 2 (text/html, inline)]

This bug report was last modified 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.