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
Asked by deathangel908
(436 rep)
May 22, 2018, 09:10 PM
Last activity: Jun 23, 2024, 11:50 AM
Last activity: Jun 23, 2024, 11:50 AM