From 2239dc6234efda7a8ae7dd746bf9472349a837d2 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Sun, 1 Oct 2017 19:38:45 +0200 Subject: glusterfs service: fix issues with useRpcbind --- nixos/modules/services/network-filesystems/glusterfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/network-filesystems') diff --git a/nixos/modules/services/network-filesystems/glusterfs.nix b/nixos/modules/services/network-filesystems/glusterfs.nix index 15777d45f785..8ac9f801dcb8 100644 --- a/nixos/modules/services/network-filesystems/glusterfs.nix +++ b/nixos/modules/services/network-filesystems/glusterfs.nix @@ -156,7 +156,7 @@ in wantedBy = [ "multi-user.target" ]; requires = lib.optional cfg.useRpcbind "rpcbind.service"; - after = [ "network.target" "local-fs.target" ] ++ lib.optional cfg.useRpcbind [ "rpcbind.service" ]; + after = [ "network.target" "local-fs.target" ] ++ lib.optional cfg.useRpcbind "rpcbind.service"; preStart = '' install -m 0755 -d /var/log/glusterfs -- cgit 1.4.1