1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00
This commit is contained in:
Thomas 2023-03-01 14:18:25 +01:00 committed by GitHub
parent d4e8d57eca
commit db93d9d8c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=__APP__
WorkingDirectory=__INSTALL_DIR__/
EnvironmentFile=/etc/systemd/system/${app}.service.d/variables.conf
EnvironmentFile=/etc/systemd/system/__APP__.service.d/variables.conf
ExecStart=__INSTALL_DIR__/.venv/bin/gunicorn -b 127.0.0.1:__PORT__ "fittrackee:create_app()" --error-logfile /var/log/__APP__/__APP__.log
Restart=always

View file

@ -16,7 +16,7 @@ StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=__APP___workers
WorkingDirectory=__INSTALL_DIR__/
EnvironmentFile=/etc/systemd/system/${app}_workers.service.d/variables.conf
EnvironmentFile=/etc/systemd/system/__APP___workers.service.d/variables.conf
ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2
Restart=always