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:
Gabriel Lando 2022-01-10 20:35:53 -03:00
parent d407fa1b62
commit 2987d67126

View File

@ -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