mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 02:48:27 +00:00
sudo not needed to set CPU affinity on our own processes
This commit is contained in:
parent
5405c642d9
commit
1a32ac0012
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user