Redirect Output From Python Script With Systemd

Home » CentOS » Redirect Output From Python Script With Systemd
CentOS 1 Comment

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.

One thought on - Redirect Output From Python Script With Systemd