I don't know. I rather like the NixOS way, where a proper programming language generates the startup scripts (or, in that case, systemd units), but then those scripts are dumb and obvious. Many things are better when they're dumb and obvious.
I don't know. I rather like the NixOS way, where a proper programming language generates the startup scripts (or, in that case, systemd units), but then those scripts are dumb and obvious. Many things are better when they're dumb and obvious.
Most shepherd service definitions are simple and stupid, but as always it is a matter of taste.
IMO this is usually the result of eg a Debian package that also ships sysvinit startup scripts, and thus they share some logic.
If it’s not that case I wonder why the cleanup can’t just be handled in the unit directly.
https://nixos.org/nixpkgs/manual/#sec-language-ruby
Trying to figure my way around installing ruby/python libraries just was too hard most of the time without a good amount of work that it wasn't worth it in the long run.
Guix has been on my radar to try and install and play with in-depth soon. If their installer will work with a VM without a days worth of research to work around any quirks I'm all in for checking it out.
https://www.gnu.org/software/guix/manual/en/html_node/Instal...