nixos/nfsd: run rpc-statd as a normal user

This commit is contained in:
Peter Hoeg
2020-09-07 18:04:03 +08:00
parent 2b1ce61548
commit d6264419f5
2 changed files with 35 additions and 36 deletions
+1 -8
View File
@@ -101,13 +101,6 @@ in
};
systemd.services.rpc-statd =
{ restartTriggers = [ nfsConfFile ];
preStart =
''
mkdir -p /var/lib/nfs/{sm,sm.bak}
'';
};
{ restartTriggers = [ nfsConfFile ]; };
};
}