[CentOS] Redirect output from python script with systemd

C. L. Martinez carlopmart at gmail.com
Sat Jul 7 19:28:47 UTC 2018


Hi all,

 I need to redirect an output from python script that runs as a systemd service. I have tried to redirect its output in Exec statement without luck. I have tried to use StandardOutput and StandardError options also, but outpu log goes to /var/log/messages.

 Any tip?

Thanks.
-- 
Greetings,
C. L. Martinez



More information about the CentOS mailing list