Results 1 to 3 of 3

Thread: help with run levels

  1. #1
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    help with run levels

    Can someone tell me how to make a service start after X has loaded?

    I have 2 services in /etc/init.d that I installed using

    update-rc.d SERVICE defaults

    problem is they take about 5 seconds each to load and my boot seems to only run one service after another (can this be change to run both at same time?)

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: help with run levels

    The version of Ubuntu matters here. Newer versions use "upstart", so checking the man page and google for use of that command would be where I would start.

    In the old /etc/init.d/ structure, just find the number that starts X/Windows and make the other links for the services you want to start later have a higher number. On my desktop, that number is 70, but it could be different on yours. 71-99 would be the choices to start after X11. I suspect there is a way to manage this using update-rc.d, but I'd simply make the softlink have the number I wanted.

  3. #3
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: help with run levels

    Thanks, I've added mine as S99Service

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •