diff --git a/conf/fittrackee.service b/conf/fittrackee.service index cd341f2..275a2c3 100644 --- a/conf/fittrackee.service +++ b/conf/fittrackee.service @@ -12,6 +12,8 @@ Restart=always RestartSec=1 User=__APP__ Group=__APP__ +StandardOutput=append:/var/log/__APP__/__APP__.log +StandardError=inherit SyslogIdentifier=__APP__ EnvironmentFile=__INSTALL_DIR__/.env Environment="APP_SECRET_KEY=" diff --git a/conf/fittrackee_workers.service b/conf/fittrackee_workers.service index 1c53056..4bda900 100644 --- a/conf/fittrackee_workers.service +++ b/conf/fittrackee_workers.service @@ -12,6 +12,8 @@ Restart=always RestartSec=1 User=__APP__ Group=__APP__ +StandardOutput=append:/var/log/__APP__/__APP__.log +StandardError=inherit SyslogIdentifier=__APP___workers EnvironmentFile=__INSTALL_DIR__/.env Environment="FLASK_APP=fittrackee"