Stebalien / term

A Rust library for terminfo parsing and terminal colors.
https://stebalien.github.io/doc/term/term/
Apache License 2.0
178 stars 49 forks source link

Write plain text when running under a start/stop daemon like systemd ? #91

Closed glennpierce closed 5 years ago

glennpierce commented 5 years ago

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