mirror of
https://github.com/unraid/webgui.git
synced 2026-05-06 20:30:50 -05:00
fix: stop knfsd by setting threads to 0
This commit is contained in:
+1
-3
@@ -105,9 +105,7 @@ nfsd_stop(){
|
||||
REPLY="Already stopped"
|
||||
else
|
||||
killall --ns $$ rpc.mountd 2>/dev/null
|
||||
killall --ns $$ nfsd 2>/dev/null
|
||||
sleep 1
|
||||
killall --ns $$ -9 nfsd 2>/dev/null
|
||||
run $NFSD 0
|
||||
killall --ns $$ rpc.rquotad 2>/dev/null
|
||||
run $EXPORTFS -au
|
||||
if ! nfsd_running; then REPLY="Stopped"; else REPLY="Failed"; fi
|
||||
|
||||
Reference in New Issue
Block a user