diff --git a/containers/vsftpd.nix b/containers/vsftpd.nix index 409ab6f..77e01dd 100644 --- a/containers/vsftpd.nix +++ b/containers/vsftpd.nix @@ -12,7 +12,7 @@ userlistDeny = false; localUsers = true; userlist = ["claire" "manu" "lakeu" "fusil" "stryxion" "nico"]; - rsaCertFile = "/var/vsftpd/vsftpd.pem"; + rsaCertFile = "/var/lib/acme/nyanlout.re/full.pem"; extraConfig = '' pasv_min_port=64000 pasv_max_port=65535 @@ -59,8 +59,8 @@ }; }; bindMounts = { - "/var/vsftpd/vsftpd.pem" = { - hostPath = "/var/vsftpd/vsftpd.pem"; + "/var/lib/acme/nyanlout.re" = { + hostPath = "/var/lib/acme/nyanlout.re"; }; "/mnt/medias" = { hostPath = "/mnt/medias"; diff --git a/services/haproxy-acme.nix b/services/haproxy-acme.nix index 9383f38..8bdef07 100644 --- a/services/haproxy-acme.nix +++ b/services/haproxy-acme.nix @@ -138,6 +138,7 @@ in group = "acme"; postRun = '' systemctl reload haproxy.service + nixos-container run vsftpd -- systemctl restart vsftpd ''; }; };