Is there a way to make this work with systemd.
Wen I say work I mean just output to the journal on Linux like println! or logging does.
Currently term::stdout() return None when running as a daemon.
I wondered if there were a nicer way on writing without having to check for none all the time.
Is there a way to make this work with systemd. Wen I say work I mean just output to the journal on Linux like println! or logging does.
Currently term::stdout() return None when running as a daemon. I wondered if there were a nicer way on writing without having to check for none all the time.
Thanks