Noob question: how to properly write a daemon in Rust?
I'm a noob, so please spare my mistakes.
I have written a toy program in Rust to control the fan of my laptop (because other readily available tools failed). I think I made it an daemon by running it with a systemd service file? But currently I want the program to also be able to report its own status and allow modification to its parameters by a CLI. How do I do that, where should I start?