Lets say I wanted to bundle 20 services together. Do I have to
use the above method? It would be tedious.
Is there perhaps some s6-rc command that will construct a bundle , and maybe add a service to a bundle.?
There is the s6-rc-bundle command (which Iāll admit I havenāt really used or even attempted to use)
Practically for me it is much easier to manually create a folder under /etc/s6-rc/sv/bundle-name, and then add the atomic services using
touch /etc/s6-rc/sv/bundle-name/contents.d/atomic-service etc
A good example is the samba bundle, which has smbd & nmbd as the atomic services listed in its contents.
OK, contents
is the clue I needed. Thanks
You s6-rc service manager gui does not deal with bundles.
I guess that is on the todo list.
In an ideal world users would be able to drag and drop services in and out of action and in and out of bundles, just like they do now with files. I guess it is coming one day.
The s6-rc-service manager simply tries to emulate a very simple ārunit-likeā implementation of s6-rc, by managing a simple bundle that kinda acts as a runlevel.
I just wanted to demonstrate that the complexity of s6-rc should not discourage the distro to adopt, it can be made very simple with the right principles & policy in place.
You are the only person to even attempt a GUI for service management. ā¦ Dont apologise it is unique.
Yes, I see , a large bundle can be like a runlevelā¦ one instance of a possible machine state.
I canāt really take full credit for the GUI, it was mostly adapted from the runit-service-manager GUI written by another developer (Xecure).
Without the runit-service-manager there would be no s6-rc_service-manager GUI.
What I will take credit for is mapping out a method to emulate runit to a point & substituting the runit parts with āequivalentā s6-rc functions, after spending A LOT of time to get familiar with both init systems, & reasonable effort to rewrite parts of the GUI code that needed to accomodate for s6-rc functions.
I appreciate that.
Thanks for the explanation of credits and history.
I have used the runit GUI, it does indeed look and function the same as the s6-rc GUI.
In Antix, there has been an SysVinit GUI for some time, but it is a totally different interface.