From 915d94817e72d1a7f0705174045bc95208ffba94 Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Tue, 4 May 2021 13:34:47 +0200
Subject: [PATCH] uwsgi-python: remove obsolete line from service file

---
 uwsgi-python/templates/uwsgi@.service.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/uwsgi-python/templates/uwsgi@.service.j2 b/uwsgi-python/templates/uwsgi@.service.j2
index 7602659..8cdf506 100644
--- a/uwsgi-python/templates/uwsgi@.service.j2
+++ b/uwsgi-python/templates/uwsgi@.service.j2
@@ -8,7 +8,9 @@ ExecReload=/bin/kill -HUP $MAINPID
 ExecStop=/bin/kill -INT $MAINPID
 Restart=always
 Type=notify
+{% if ansible_distribution_major_version|int(default=99) < 11 %}
 StandardError=syslog
+{% endif %}
 NotifyAccess=all
 KillSignal=SIGQUIT
 SuccessExitStatus=15 17 29 30
-- 
GitLab