D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] auto starting services

 

It's an ugly hack but for something like vncserver you can probably stick the 
command in the rc.local file on Debian. It is a simple script run after everything 
else when entering multiuser run levels.

Ubuntu has rc.local as a disabled sysvinit script, so needs an "update-rc.d enable 
rc.local" (from memory, use tab autocomplete to get the right names). Then again 
Ubuntu might have a better approach in upstart, but as far as I can see Ubuntu spent 
a lot of effort deviating from the traditional way, introduced a shed load of messy 
bugs, devalued my decades of learning, and introduced a load of under-commented 
start-up scripts. You can tell I'm not an upstart fan can't you.
-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq