I am using detachtty like this:
a "detach" script: #!/bin/sh prefix="$1" program="`which "$2"`" shift 2 /usr/bin/detachtty --dribble-file "$prefix.dribble" --log-file "$prefix.log" --pid-file "$prefix.dribble" "$prefix.socket" "$program" "$@"
and the way to load it
~/usr/bin/detach sbcl sbcl --eval "(load "start.lisp")"
and have it in crontab so it would go up every reboot (i don't have a root on that machine)
Ignas