Re: rc.local

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux