From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-138369-garchives=archives.gentoo.org@lists.gentoo.org>) id 1SUfZz-0007Fd-QA for garchives@archives.gentoo.org; Wed, 16 May 2012 14:51:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C99EE0C2C; Wed, 16 May 2012 14:51:38 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 6697EE0C14 for <gentoo-user@lists.gentoo.org>; Wed, 16 May 2012 14:50:00 +0000 (UTC) Received: by bkcjk13 with SMTP id jk13so774671bkc.40 for <gentoo-user@lists.gentoo.org>; Wed, 16 May 2012 07:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ZLVsiqhCM+jR6SJyIwhPXt9OmMAFutPdJP05DyfJyyo=; b=KtuEFwnF+AjOLIMYb/jsGQh5bt7KuogeMqgw3rDmhAbdDYohpyKyf7GbJWYL6CT+EU fjIgwbTTKr879/ZdKOwwhQAFLCfVnFzpCjv5lkuMHZKjoQ3PkoFDKeJ3puN/w88TwuhA 2yv1P038U6VfokzneI71eVVppvTQF4CSQi5H+Lkc1wgJNB6pcnn2eiKmO4ICKeE3hJ7j FCi40Kv8E9JEXsmbyxUxvcmSXQ7nhdDlyhPQ0zyAiQfhu9ghvdSwfauzPH8rz+icZYbz GhNkplF/4BL0Ot5m2/oOfPDA+mpAHC5UUbg6w4V9Fh6J5tHAc/XwrWFaSZlkFBe/9ait UK+Q== Received: by 10.204.148.82 with SMTP id o18mr1242608bkv.85.1337179799421; Wed, 16 May 2012 07:49:59 -0700 (PDT) Received: from [172.21.36.94] (global-1-83.nat.csx.cam.ac.uk. [131.111.184.83]) by mx.google.com with ESMTPS id f11sm5705493bkw.6.2012.05.16.07.49.57 (version=SSLv3 cipher=OTHER); Wed, 16 May 2012 07:49:58 -0700 (PDT) Message-ID: <4FB3BEA7.2080407@gmail.com> Date: Wed, 16 May 2012 15:50:15 +0100 From: Ignas Anikevicius <anikevicius@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org CC: Neil Bothwick <neil@digimed.co.uk> Subject: Re: [gentoo-user] Runlevels, ordering initscripts and running them in background References: <4FB367FA.2050705@gmail.com> <20120516141519.79e51913@digimed.co.uk> In-Reply-To: <20120516141519.79e51913@digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4477869b-d53c-4671-9606-8946547a1e2d X-Archives-Hash: 63c562ec53ab92a03320a38d4215e9f4 On 16/05/12 14:15, Neil Bothwick wrote: > On Wed, 16 May 2012 09:40:26 +0100, Ignas Anikevicius wrote: > >> I want to do this, so that I do not have to wait while non-crucial >> services are being started (e.g. fcron, bitlbee, ntpd to name a few). >> Maybe it is possible to somehow prioritize the initscripts? > > Yes it is. The initscripts themselves have such a mechanism, using the > before and after statements, for example making sure that network > services are started after the network is brought up. You can add your > own rules to the daemons' config files in /etc/conf.d or to /etc/rc.conf. > > To have bitlbee start after xdm either add > > rc_after="xdm" > > to /etc/conf.d/bitlbee or put > > rc_bitlbee_after="xdm" > > in /etc/rc.conf. Both have the same effect, it depends on whether you > want to put all these settings together or in the individual services' > config files. > Thanks for the tip!, I will use this to see how much difference do I get. :) Cheers, Ignas