WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SUGGESTION] autostart services  (Read 2485 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
[SUGGESTION] autostart services
« on: January 23, 2011, 10:46:34 AM »
I would suggest to autostart services via tce.installed; for example dbus, hal, wicd, etc.
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: [SUGGESTION] autostart services
« Reply #1 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.