samba.sh don't exec smbd to not trigger bug in new version of samba
This commit is contained in:
parent
ddbb58e391
commit
dda618f25f
2
samba.sh
2
samba.sh
@ -242,5 +242,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 </dev/null
|
ionice -c 3 smbd -FS </dev/null
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user