How to add a service to admin-service

Fred Roller froller at tnclimited.com
Thu Sep 10 13:15:00 UTC 2009


Pete Clapham wrote:
> Hi, all --
>
> I have added an application to my Ubuntu Server 9.04, and I would like to make it start when the machine starts up.  The start script is in init.d; it's "on" in chkconfig, but it doesn't start unless I manually start it.  It would appear that I need to add it to the admin-services list, but the man file for that app is pretty thin, and I don't know how to do it.  Can anybody advise?
>
> Thanks.
>
> cheers,
> pete
>
>   
add the start up script in

    /etc/rc.local

This runs on the tail end of multi-user boot sequence. 

If you need the program to start at a specific place in the boot 
sequence then research a bit on the /etc/rc[0-6].d directories.  Files 
in these directories control what comes up when during the boot sequence 
once grub hands off the system.

-- 
Fred
www.fwrgallery.com

"Life is like linux, simple.  If you are fighting it you are doing something wrong."





More information about the ubuntu-users mailing list