summaryrefslogtreecommitdiff
path: root/gnu/services/nfs.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-03-07 23:58:39 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-03-08 00:26:02 -0500
commit5fdc5b2d57d2e7ab04dbaf9c85e7f34eebe81495 (patch)
tree02c335ab89deb9819750208ceb9336fcc4fea1e5 /gnu/services/nfs.scm
parentbe3908fa145b72da9fd53a30751383a69fbedcb0 (diff)
services: nfs: Run rpc.mountd in foreground.
Fixes <https://bugs.gnu.org/39708>. 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.
Diffstat (limited to 'gnu/services/nfs.scm')
-rw-r--r--gnu/services/nfs.scm1
1 files changed, 1 insertions, 0 deletions
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")
'())