Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: jls on January 23, 2011, 10:46:34 AM

Title: [SUGGESTION] autostart services
Post by: jls on January 23, 2011, 10:46:34 AM
I would suggest to autostart services via tce.installed; for example dbus, hal, wicd, etc.
Title: Re: [SUGGESTION] autostart services
Post by: Jason W on January 25, 2011, 01:56:42 PM
I personally like leaving the control in the hands of the user to start services, either in bootlocal.sh, the command line, or by the services app.

If an extension needs a particular service running, then it should use it's tce.installed script to start a needed service so the extension functions seamlessly for the user.  For example, if Firefox needed dbus running, then firefox should contain "/usr/local/etc/init.d/dbus start" in its tce.installed script.  I prefer that over having an extension that is a service start the service just because the extension is loaded. 

That is my preference, though I see the logic in starting a service because it is installed for the sake of convenience.