Koozali.org: home of the SME Server

CDWserver start on bootup

Jason

CDWserver start on bootup
« on: May 27, 2003, 04:57:56 PM »
How do i get cdwserver to start on boot up. Once the machine has restated i have to go to the command line to restart the service i would like it to start up on boot up is there a way
Thanks

Cyrus Bharda

Re: CDWserver start on bootup
« Reply #1 on: May 28, 2003, 02:46:55 AM »
Jason,

I had the same problem with an app I wrote a howto for, I did get advice and you can see the proper SME way of doing this at the end of my howto:

http://mirror.contribs.org/smeserver/contribs/cbharda/howto/netprobe-howto.htm

Big thanks to Michiel Blotwijk for finally finding out the SME way of achieving this!!
Change to the local events directory:
[root@esmith root]# cd /etc/e-smith/events/local
Download start-up script:
[root@esmith local]# wget http://mirror.contribs.org/smeserver/contribs/cbharda/contrib/netprobe/netprobestart
Change permissions on the file:
[root@esmith local]# chmod 750 netprobestart
Now netprobe will automatically start when you reboot!

Probably just change the script to suit your needs :-)

Cyrus Bharda

jason

Re: CDWserver start on bootup
« Reply #2 on: June 03, 2003, 03:02:00 PM »
this seams fairly complicated to start one line. when the machine boots if i go to the conslole do the cdwserver start command it starts the process so i can burn i just want to add this line to the initial startup to start the service. Do i really need to do all this to start the service on start up