Re: [gentoo-user] How do I deamonize every service?
I think you all understood me wrong: LK wrote linuxrocksrul...@gmail.com: On Arch Linux there is a variable with all important things to be run, like dhcpcd, ssh, apache, and so on. If I want i can simply prepend a '@' to be begin to start it in the background. I miss that ease on gentoo. I mean, rc-update adds a service in such a way, that the booting waits for that service to complete startup. Now I would like to start the service in the background to speed the boot up. I was able to do this kind of stuff in arch: SERVICES=udev nxserver @dhcpcd @ssh Where the services preceeded by a AT are backgroundified. TIA... On Thu, Feb 16, 2012 at 5:10 AM, Frank Steinmetzger war...@gmx.de wrote: On Wed, Feb 15, 2012 at 09:50:34AM -0600, Paul Hartman wrote: If you emerge ifplugd it should automatically let network start immediately at boot, and then do the actual connection in the background. It also handles unplug/plugging of the cable without you needing to do anything. I started a reply naming ifplugd, but then discarded it again in fear I was unable to explain the technical background of what it actually does. :o) I've been using ifplugd for years, but a while ago switched to netplug for no concrete reason. Do you by any chance know the difference between the two? All I know is that they do basically the same and both their distfile is only a few kB in size. Even their package description is the same. What the heck are you even talking about? I am sorry to have explained it wrong.
Re: [gentoo-user] How do I deamonize every service?
On Tue, 21 Feb 2012 21:00:39 +0100, imacake LK wrote: I mean, rc-update adds a service in such a way, that the booting waits for that service to complete startup. Now I would like to start the service in the background to speed the boot up. There's the PARALLEL_STARTUP option in rc.conf, but this method is currently unsupported. If you have ifplugd installed and set rc_depend_strict=NO in rc.conf, there isn't really anything that should wait. The usual delays are networking scripts waiting for the network to come up, but this avoids those. -- Neil Bothwick Home is where you hang your @. signature.asc Description: PGP signature
[gentoo-user] How do I deamonize every service?
On 2012, Feb 14, Tuesday, 13:30, Nikos Chantziaras wrote: -b, --background Background immediately. This is useful for startup scripts which don't disable link messages for carrier status. So to use that option, edit /etc/conf.d/net and use: dhcpcd_eth0=--background That works. On Arch Linux there is a variable with all important things to be run, like dhcpcd, ssh, apache, and so on. If I want i can simply prepend a '@' to be begin to start it in the background. I miss that ease on gentoo, where i dont want to wait for sshd or dhcpcd to start. Now the above solution for dhcpcd is not general. I dont want to take the specific way for each service. TIA.
Re: [gentoo-user] How do I deamonize every service?
On Wed, Feb 15, 2012 at 9:40 AM, LK linuxrocksrul...@googlemail.com wrote: On 2012, Feb 14, Tuesday, 13:30, Nikos Chantziaras wrote: -b, --background Background immediately. This is useful for startup scripts which don't disable link messages for carrier status. So to use that option, edit /etc/conf.d/net and use: dhcpcd_eth0=--background That works. On Arch Linux there is a variable with all important things to be run, like dhcpcd, ssh, apache, and so on. If I want i can simply prepend a '@' to be begin to start it in the background. I miss that ease on gentoo, where i dont want to wait for sshd or dhcpcd to start. Now the above solution for dhcpcd is not general. I dont want to take the specific way for each service. TIA. If you emerge ifplugd it should automatically let network start immediately at boot, and then do the actual connection in the background. It also handles unplug/plugging of the cable without you needing to do anything.
Re: [gentoo-user] How do I deamonize every service?
On Wed, Feb 15, 2012 at 13:50, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Wed, Feb 15, 2012 at 9:40 AM, LK linuxrocksrul...@googlemail.com wrote: On 2012, Feb 14, Tuesday, 13:30, Nikos Chantziaras wrote: -b, --background Background immediately. This is useful for startup scripts which don't disable link messages for carrier status. So to use that option, edit /etc/conf.d/net and use: dhcpcd_eth0=--background That works. On Arch Linux there is a variable with all important things to be run, like dhcpcd, ssh, apache, and so on. If I want i can simply prepend a '@' to be begin to start it in the background. I miss that ease on gentoo, where i dont want to wait for sshd or dhcpcd to start. Now the above solution for dhcpcd is not general. I dont want to take the specific way for each service. TIA. If you emerge ifplugd it should automatically let network start immediately at boot, and then do the actual connection in the background. It also handles unplug/plugging of the cable without you needing to do anything. wicd also has a daemon that does this. -- Claudio Roberto França Pereira
Re: [gentoo-user] How do I deamonize every service?
On Wed, Feb 15, 2012 at 09:50:34AM -0600, Paul Hartman wrote: If you emerge ifplugd it should automatically let network start immediately at boot, and then do the actual connection in the background. It also handles unplug/plugging of the cable without you needing to do anything. I started a reply naming ifplugd, but then discarded it again in fear I was unable to explain the technical background of what it actually does. :o) I've been using ifplugd for years, but a while ago switched to netplug for no concrete reason. Do you by any chance know the difference between the two? All I know is that they do basically the same and both their distfile is only a few kB in size. Even their package description is the same. ^^ -- Gruß | Greetings | Qapla' I forbid any use of my email addresses with Facebook services. The beginning is one half of the whole. pgpcolA2MGRMP.pgp Description: PGP signature