3 ms·
I use void linux (http://voidlinux.eu http://voidlinux.eu) on my laptop and vps, which uses runit as its init system, and it's beautiful. It's such an elegant
by cgag 11y ago
I use void linux (http://voidlinux.eu http://voidlinux.eu) on my laptop and vps, which uses runit as its init system, and it's beautiful. It's such an elegant system. Writing the run scripts is so easy, and there's so little you need to understand to do it.
Rather than learning how upstart or systemd unit files work and learning their configuration languages, you only need to know how to start a process that runs in the foreground and logs to stdout.
- icebraining 11y agoHere's a template for doing the same in systemd: [Service] ExecStart=*path to process* Learning the language is only necessary because some services are more complex. For example, if you need your process to only start after another, you must now learn the syntax of runit's sv program.
- JdeBP 11y agoHere are some concrete run scripts and service units, side by side: http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/run-scripts-and-service-units-side-by-side.html http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/ru...
- cgag 11y agoI was curious if such a thing existed, thanks.