Add --no-process-group flag to smbd (#147)

Latest Samba on Alpine fails with "Failed to create session" without
this flag.
This commit is contained in:
Jon dye 2018-09-23 18:11:56 +01:00 committed by David Personette
parent 9a97548a5f
commit 5a83c6f1e8

View File

@ -255,5 +255,5 @@ elif ps -ef | egrep -v grep | grep -q smbd; then
echo "Service already running, please restart container to apply changes"
else
[[ ${NMBD:-""} ]] && ionice -c 3 nmbd -D
exec ionice -c 3 smbd -FS </dev/null
fi
exec ionice -c 3 smbd -FS --no-process-group </dev/null
fi