Skip to content

Commit

Permalink
sudo not needed to set CPU affinity on our own processes
Browse files Browse the repository at this point in the history
  • Loading branch information
klightspeed committed Oct 3, 2016
1 parent 5405c64 commit 1a32ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/arkmanager
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1a32ac0

Please sign in to comment.