Joined: Feb. 2007
||Posted: July 03 2008,12:38
|to either /opt/bootlocal.sh|
or even .xinitrc
But bootlocal.sh is prefered.
I know a lot (most?) users only run in X and technically starting such processes from .xinitrc may work, but it's a really bad idea to use .xinitrc for spawning daemons or processes unrelated to the X environment. No X, whether intentional or from a crash, means daemons or child processes started from .xinitrc will cease to run. Or worse, they're not stopped correctly or "gracefully" while doing something. May not be as bad with cron (as long as it's not executing something) as it is for other things like a printer daemon or sshd.
(Edit: Changed ssh to sshd for clarification, though some also prefer to ssh from console so as to not tie connection to another machine to an X session.)
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)