vmd32387/containers: pass resolv.conf to containers
This commit is contained in:
parent
a2070b4d3b
commit
89d62000fd
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue