Runit is actually quite simple. If you want a service that your distro packages, you just have to install it and symlink it’s directory from (in void’s case) /etc/sv/app-or-service to /var/service/app-or-service.
Inside that dir you’ll find a “run” script and, maybe, a “finish” script that the service manager (sv) will use to initiate and interrupt the service. This is helpful to know if you want to create custom services; i have some for things like brightness, manual tiling, and clipboard management.
I see! But there’s still much more than service management, not all of it packaged into the “init” part of systemd. And each of these things need to be learned. I’m not saying it’s impossible, but it’s just one more big headache on top of what Linux already is.
Also, out of curiosity from someone who barely touched Void - how do you create a custom service? Is writing run and finish scripts sufficient?
Runit is actually quite simple. If you want a service that your distro packages, you just have to install it and symlink it’s directory from (in void’s case) /etc/sv/app-or-service to /var/service/app-or-service. Inside that dir you’ll find a “run” script and, maybe, a “finish” script that the service manager (sv) will use to initiate and interrupt the service. This is helpful to know if you want to create custom services; i have some for things like brightness, manual tiling, and clipboard management.
I see! But there’s still much more than service management, not all of it packaged into the “init” part of systemd. And each of these things need to be learned. I’m not saying it’s impossible, but it’s just one more big headache on top of what Linux already is.
Also, out of curiosity from someone who barely touched Void - how do you create a custom service? Is writing run and finish scripts sufficient?