sudo not needed to set CPU affinity on our own processes

This commit is contained in:
Ben Peddell 2016-10-04 04:26:03 +10:00
parent 5405c642d9
commit 1a32ac0012

View File

@ -1044,7 +1044,7 @@ doStart() {
if [ -n "$arkCpuAffinity" ]; then
echo "Setting CPU affinity for ark server"
sudo taskset -c "$arkCpuAffinity" -p "$pid"
taskset -c "$arkCpuAffinity" -p "$pid"
fi
kill -CONT "$pid"