rc.local

Andy Green andy at warmcat.com
Mon Aug 20 16:22:56 UTC 2007


Somebody in the thread at some point said:

> How do I run a program from rc.local
> 
> I have:
> su regularUser -c "cd /home/me/folding; ./FAH504-Linux.exe >/dev/null &"
> 
> Nothing happens. I see nothing in the logs. Is there a way to trace this

Maybe

nohup su regularUser -c "cd /home/me/folding; ./FAH504-Linux.exe
>/dev/null " &

will work better... because your & is inside the quotes I think it
finishes with the su action after spawning the background process and
then kills the background process because the su exited.

-Andy




More information about the users mailing list