Results 1 to 2 of 2
Hi! I'm newbie in linux ,but I have developed many applications in .Net Now, I wrote a new program in Linux , gcc complier.. I complied the file and I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-30-2009 #1
- Join Date
- Oct 2009
[SOLVED] script to run application at startup?? ( Compiled in gcc )
Hi! I'm newbie in linux ,but I have developed many applications in .Net
Now, I wrote a new program in Linux , gcc complier..
I complied the file and I need to put it in startup. But I read some documents ,these say that I should write a shell script then put it into etc directory.
How do I write a script to start it on startup ?
Thanks A Lot...
I changed the file /etc/rc.d/rc.local , then it worked !!
- 11-02-2009 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
As you found, /etc/rc.d/rc.local is intended to allow system-specific applications to be run at startup, after all the standard service and server startup scripts have run. It is a script file intended to be modified by adding your specific application commands as needed.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!