diff options
-rw-r--r-- | hosts/arrakis/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix index 6a5324e..6bd802b 100644 --- a/hosts/arrakis/default.nix +++ b/hosts/arrakis/default.nix @@ -280,9 +280,10 @@ after = [ "zfs-import-data.service" ]; description = "Bind NFS exports to ZFS paths"; script = '' - ${pkgs.util-linux}/bin/mount /srv/nfs/keepers - ${pkgs.util-linux}/bin/mount /srv/nfs/movies - ${pkgs.util-linux}/bin/mount /srv/nfs/tv + ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/keepers + ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/movies + ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/tv + exit 0 ''; wantedBy = [ "local-fs.target" ]; }; |