samba.sh work around issue on docker 1.11

This commit is contained in:
David Personette 2016-04-29 11:00:38 -04:00
parent 25747dc441
commit bec2314716

View File

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