diff --git a/com.cronocide.python-tool.plist b/com.cronocide.python-tool.plist index 46aaa90..97231d4 100644 --- a/com.cronocide.python-tool.plist +++ b/com.cronocide.python-tool.plist @@ -12,5 +12,9 @@ KeepAlive + StandardOutPath + /var/log/python-tool.log + StandardErrorPath + /var/log/python-tool.log diff --git a/python-tool.service b/python-tool.service index e8095ee..f05a450 100644 --- a/python-tool.service +++ b/python-tool.service @@ -7,6 +7,9 @@ Restart=always Type=simple WorkingDirectory=/etc/python-tool ExecStart=/etc/python-tool/bin/python-tool +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=python-tool [Install] WantedBy=multi-user.target