From 5fdc5b2d57d2e7ab04dbaf9c85e7f34eebe81495 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 7 Mar 2020 23:58:39 -0500 Subject: services: nfs: Run rpc.mountd in foreground. Fixes . Shepherd doesn't keep track of processes that fork themselves and would disable the process after restarting it a couple times. * gnu/services/nfs.scm (nfs-shepherd-services): Invoke rpc.mountd with the '--foreground' option. --- gnu/services/nfs.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services/nfs.scm b/gnu/services/nfs.scm index ddc9e2c47e..140a11856a 100644 --- a/gnu/services/nfs.scm +++ b/gnu/services/nfs.scm @@ -299,6 +299,7 @@ (start #~(make-forkexec-constructor (list #$(file-append nfs-utils "/sbin/rpc.mountd") + "--foreground" #$@(if (member 'mountd debug) '("--debug" "all") '()) -- cgit v1.2.3