I've found it useful to have a startup script that runs something in a detached screen before. The relevant screen options are:JamesF wrote:From a cursory look-over, it should be entirely possible to write an /etc/rc.d/ script that'll run as the appropriate user and kick off a detached screen session, which in turn calls the script that starts up the lisp process.
Code: Select all
-d -m Start screen in "detached" mode. This creates a new session but doesn't attach to it. This is useful for system startup scripts. -D -m This also starts screen in "detached" mode, but doesn't fork a new process. The command exits if the session terminates.