[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rc.local



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]