Serverkey Error

./run.sh After writing this command, why do I get the error?
writes license code in server.cfg

Don’t execute run.sh directly, cd to the folder where your server.cfg is and your resources folder and then do path/to/run.sh +exec server.cfg

thanks, my problem is solved