Assign server core

Hello, I dont know where I shall post this, in dev or general discussion, so please move if its wrong!

I want to know how I can assign the core to an process permanently(also when it restarts), like, I use LGSM to create & run the server on linux, but I dont know how to constantly give it an core, how would I go about doing so?

If you want to assign what cores to use with your server under Linux.
You will have to install util-linux then use taskset.

Doesnt taskset set it temporary, and it resets upon reboot?

make a shell script to run on boot then