Koozali.org: home of the SME Server

Start progam automaticaly at boot

Herculito

Start progam automaticaly at boot
« on: March 07, 2002, 02:48:55 PM »
Hi,

Is there any how to describing how  to edit rc.local to start a program automaticaly at boot?

TIA

las

Confucius

Re: Start progam automaticaly at boot
« Reply #1 on: March 07, 2002, 05:04:27 PM »
If you know how to start a program u can simply put it in the rc.local at the end and it will start. I do the same myself too.

Harro

Herculito

Re: Start progam automaticaly at boot
« Reply #2 on: March 07, 2002, 05:16:42 PM »
Thnx for your reply Confucius,

I tried to do that but it didn't work (e-smith 5.1.2) could you mail me an example ?
I need to start the following program lcdproc -s 127.0.0.1 C -p 13666

TIA
las

Alex Henriksen

Re: Start progam automaticaly at boot
« Reply #3 on: March 08, 2002, 05:01:37 AM »
Try with "lcdproc -s 127.0.0.1 C -p 13666 &"
Or maybe "lcdproc -s localhost C -p 13666 &"

Confucius

Re: Start progam automaticaly at boot
« Reply #4 on: March 08, 2002, 12:46:30 PM »
I would put the full path inthere too, like :

/usr/sbin/lcdproc -s 127.0.0.1 C -p 13666 &

If the file is located in the /usr/sbin offcourse. This to make sure the server can find it at all times.

Harro