From b56ca418ec31da295a59e90e3c361e7889432fd2 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 17 Dec 2022 15:54:50 +0100 Subject: [PATCH] use venv --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index b8fc7c8..4b748dc 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -ExecStart=python3 __FINALPATH__/index.py +ExecStart=__FINALPATH__/venv/bin/python3 __FINALPATH__/index.py StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit