mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
be3908fa14
commit
5fdc5b2d57
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ (define (nfs-shepherd-services config)
|
|||
(start
|
||||
#~(make-forkexec-constructor
|
||||
(list #$(file-append nfs-utils "/sbin/rpc.mountd")
|
||||
"--foreground"
|
||||
#$@(if (member 'mountd debug)
|
||||
'("--debug" "all")
|
||||
'())
|
||||
|
|
Loading…
Reference in a new issue