From db28a4ac881ee59bcb1b42fe8379cade13759e19 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 2 Mar 2023 14:58:20 +0100 Subject: [PATCH] Update fittrackee_workers.service --- conf/fittrackee_workers.service | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/conf/fittrackee_workers.service b/conf/fittrackee_workers.service index fc6e231..b4305eb 100644 --- a/conf/fittrackee_workers.service +++ b/conf/fittrackee_workers.service @@ -12,12 +12,11 @@ Restart=always RestartSec=1 User=__APP__ Group=__APP__ - - +StandardOutput=syslog +StandardError=syslog SyslogIdentifier=__APP___workers -WorkingDirectory=__INSTALL_DIR__/ EnvironmentFile=/etc/systemd/system/__APP___workers.service.d/variables.conf - +WorkingDirectory=__INSTALL_DIR__/ ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2 Restart=always