How to automatically start lm-studio in linux?

Posted by badabimbadabum2@reddit | LocalLLaMA | View on Reddit | 12 comments

I have tried to start the lms studio with a bash script in crontab. But nothing seems to work. Even with ssh connection to the server, lms server start wont start the server. lms server start Starting server... Waking up LM Studio service... E Failed to start the server on port 1234 But when goin locally the the server, that same command works from the command line: lms server start. What is this? some kind of protection not to automatically start it?