Re: [CentOS] Redirect output from python script with systemd

2018-07-07 Thread Jonathan Billings
On Jul 7, 2018, at 3:28 PM, C. L. Martinez wrote: > 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

[CentOS] Redirect output from python script with systemd

2018-07-07 Thread C. L. Martinez
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. -- Greeti