Fix startup parameter issue for samba version 4.15+
Replace parameter "S" from the "-FS" startup script to "--debug-stdout", as the "--log-stdout" parameter was replaced to "--debug-stdout" in smbd version 4.15+
This commit is contained in:
parent
d407fa1b62
commit
2987d67126
2
samba.sh
2
samba.sh
@ -293,5 +293,5 @@ elif ps -ef | egrep -v grep | grep -q smbd; then
|
|||||||
echo "Service already running, please restart container to apply changes"
|
echo "Service already running, please restart container to apply changes"
|
||||||
else
|
else
|
||||||
[[ ${NMBD:-""} ]] && ionice -c 3 nmbd -D
|
[[ ${NMBD:-""} ]] && ionice -c 3 nmbd -D
|
||||||
exec ionice -c 3 smbd -FS --no-process-group </dev/null
|
exec ionice -c 3 smbd -F --debug-stdout --no-process-group </dev/null
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user