On Sun, 31 Jan 2016 01:28:37 +0100 "Guillaume Maudoux (Layus)"
<[email protected]> wrote:
> Yep. Most probably SSL_CERT_FILE. Look for that string on thé github
> issues, or in the mailing list archives.

Yep, it actually is the SSL_CERT_FILE, thanks!

This service seems to do what it should (have to wait till tomorrow to
check if my startAt is what I want):

```
  systemd.services.duplyamazon = {
    path = [ pkgs.bash pkgs.duply pkgs.duplicity ]; 
    serviceConfig = {
      User = "root";
      WorkingDirectory = "/root";
    };
    environment =  {
      SSL_CERT_FILE = "/etc/ssl/certs/ca-certificates.crt";
    };
    script = "duply amazon backup";
    startAt = "*-*-* 2:10:00";
  };
```

(I could have found a similar question some days ago about duplicity
where the cert file was the answer too. Oh, if I had read the
mailinglist better…)

- Arnold

Attachment: signature.asc
Description: PGP signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to