From 6ce4717a456307e6d180ac8df610e91dcd218898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Tue, 31 Dec 2024 14:21:14 +0100 Subject: [PATCH] [taks-230] [fix] tandoor: systemd-unit-Zeilen --- roles/tandoor/templates/systemd-unit.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/tandoor/templates/systemd-unit.j2 b/roles/tandoor/templates/systemd-unit.j2 index ca1ec13..57d815c 100644 --- a/roles/tandoor/templates/systemd-unit.j2 +++ b/roles/tandoor/templates/systemd-unit.j2 @@ -5,8 +5,8 @@ After=multi-user.target [Service] WorkingDirectory={{var_tandoor_directory}}/program User={{var_tandoor_user}} -# Environment="VIRTUAL_ENV={{var_tandoor_directory}}/program" -ExecStart="{{var_tandoor_directory}}/program/bin/python3 manage.py runserver" +Environment=VIRTUAL_ENV={{var_tandoor_directory}}/program +ExecStart={{var_tandoor_directory}}/program/bin/python3 {{var_tandoor_directory}}/program/manage.py runserver SyslogIdentifier=tandoor [Install]