I am thinking about moving to Guix, and was wondering what you all think of Shepherd?
What are things you like? What are its shortcomings? Any cool or weird things you wish you knew before using it?
For context, I am currently using Runnit.
I am thinking about moving to Guix, and was wondering what you all think of Shepherd?
What are things you like? What are its shortcomings? Any cool or weird things you wish you knew before using it?
For context, I am currently using Runnit.
I miss ‘systemctl poweroff’ (haven’t learned the new herd equivalent); also, ‘herd --help’ doesn’t really give any useful information and only lists a few things you can do… Have to really dig into the documentation (someday). Also, the ‘shutdown’ syntax has changed… Otherwise, most stuff has gone well
You can use
shutdown
orreboot
- but it will require privilege escalation with sudo. The desktop environment’s shutdown and reboot command should be working fine, just the way it is intended to. systemd is not an init system, but all the software tools crammed into one. Other init systems, including shepherd tries to keeps it simple and clean.What I mean with shutdown, is the flags have changed (So, I can’t do ‘shutdown -hP’ or ‘shutdown -hP now’)
With that respect, you’re not wrong. It is actually a Guile script:
Now, interestingly, there is also another command called
halt
, which also happens to be a Guile script:This needs to be documented properly.
Dang, I had no idea and never thought to inspect it; thank you for pointing that out, now maybe I can finally figure out how to nicely shutdown from the terminal