Re: rc.local

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

 



edwarner99@xxxxxxxxx wrote:
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 down?
Thanks,
I'm guessing that rc.local is being run in a shell, which once it is closed, kills any child processes. You should probably look into the nohup program (http://en.wikipedia.org/wiki/Nohup might be useful). As to where the nohup should be place, though, is a question I can't answer. It might be placed before the `su` or maybe before the `./FAH504-Linux.exe`. Someone else will need to help you with that (maybe just try both...?).

Justin W

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux