You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently building a home server (based on gentoo), and I want it to be available as fast as possible. However, some of the services it runs are slow to start but also not as important as some others (like samba)
Running in parallel mode is not an option, as they technically all start at the same time (they all only need the network as a dependency, so as soon as the network is ready, all the services are started, including the heavy ones)
The one that slows down everything in my case is homeassistant, and postgresql doing a lot of disk access (this is not a super powerfull server, but a fanless mini itx computer)
My current solution, less than ideal, is to only have the services I really need fast in the default runlevel, and everything else in local.d...
I've studied all the option offered by openrc, and I didn't see any option to avoid that. Stacked runlevel is almost perfect... except that in my case I need to run all the stacked (or a list of them) runlevels.
(Modifiying the inittab is also not a solution)
However, if I know when a runlevel finished its execution, I can then have a script to initiate the next stacked runlevel (keeping all the services runing of course)
This will essentially be similar to the init code that starts sysinit then boot then default runlevel in this order.
Did I miss something?
Hope it clear, if not let me know
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I'm currently building a home server (based on gentoo), and I want it to be available as fast as possible. However, some of the services it runs are slow to start but also not as important as some others (like samba)
Running in parallel mode is not an option, as they technically all start at the same time (they all only need the network as a dependency, so as soon as the network is ready, all the services are started, including the heavy ones)
The one that slows down everything in my case is homeassistant, and postgresql doing a lot of disk access (this is not a super powerfull server, but a fanless mini itx computer)
My current solution, less than ideal, is to only have the services I really need fast in the default runlevel, and everything else in local.d...
I've studied all the option offered by openrc, and I didn't see any option to avoid that. Stacked runlevel is almost perfect... except that in my case I need to run all the stacked (or a list of them) runlevels.
(Modifiying the inittab is also not a solution)
However, if I know when a runlevel finished its execution, I can then have a script to initiate the next stacked runlevel (keeping all the services runing of course)
This will essentially be similar to the init code that starts sysinit then boot then default runlevel in this order.
Did I miss something?
Hope it clear, if not let me know
Thank you!
The text was updated successfully, but these errors were encountered: