diff --git a/conf/fittrackee_workers.service b/conf/fittrackee_workers.service index cc0328d..fc6e231 100644 --- a/conf/fittrackee_workers.service +++ b/conf/fittrackee_workers.service @@ -17,7 +17,7 @@ Group=__APP__ SyslogIdentifier=__APP___workers WorkingDirectory=__INSTALL_DIR__/ EnvironmentFile=/etc/systemd/system/__APP___workers.service.d/variables.conf -EnvironmentFile=__INSTALL_DIR__/.env + ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2 Restart=always