How do I find stdout of a process in openrc?
Here's how I created my daemon.
/etc/init.d/mydaemon
#!/sbin/openrc-run
command="python3"
command_args="/srv/http/tornado.py"
command_background="yes"
pidfile="/tmp/tornado.pid"
All I get in my logs is:
* Starting tornado ... [ ok ]
I have default /etc/rc.conf
with set rc_logger="YES"
. What I would like to get is something like systemd allows to view stdout of a daemon with sudo journalctl -u mydaemon