vmd32387/containers: pass resolv.conf to containers

This commit is contained in:
steveej 2020-03-16 22:24:46 +01:00
parent a2070b4d3b
commit 89d62000fd
2 changed files with 4 additions and 2 deletions

View file

@ -61,7 +61,7 @@ in args // {
serviceConfig.RestartSec = 600;
serviceConfig.Restart = "always";
description = "Getmail service";
path = [ pkgs.getmail ];
path = [ ];
script = let
rc = pkgs.writeText "mailATstefanjunker.de.getmail.rc" ''
[options]
@ -82,7 +82,7 @@ in args // {
path = ${pkgs.dovecot}/libexec/dovecot/dovecot-lda
'';
in ''
getmail --rcfile=${rc} --idle=INBOX
${pkgs.getmail}/bin/getmail --rcfile=${rc} --idle=INBOX
'';
};