How do I make something a system service?
Hey guys,
I need to make a system service of my own. I would like to know how... The program I am trying to make a service is the Tribes 2 dedicated server, which runs in the terminal. How would I go about making this a system service? Thanks for the help, and Happy Easter! -Sloik |
Hi,
Just make a script (say tribes2) that takes as argument the following: start stop status restart lock AFAIK lock and restart are optional. Then put the script in /etc/init.d/. Thats about it. -Sarav |
Thanks!
Thanks for the help!
|
Btw, that just for making a service. Doesn't automatically start it. You will have to use chkconfig for that. I use the GUI provided in FC3 for this, so dont ask me about chkconfig (it's easy though).
-Sarav |
All times are GMT -5. The time now is 09:06 AM. |