samba.sh don't exec smbd to not trigger bug in new version of samba

This commit is contained in:
David Personette 2018-04-08 06:55:07 -04:00
parent ddbb58e391
commit dda618f25f

View File

@ -242,5 +242,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
ionice -c 3 smbd -FS </dev/null
fi