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-02 22:18:05 +01:00 committed by GitHub
parent 22a21985c0
commit 53605f56ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -4,7 +4,7 @@ Description=__APP__ service
After=network.target After=network.target
After=postgresql.service After=postgresql.service
After=redis.service After=redis.service
StartLimitIntervalSec=0
[Service] [Service]
Type=simple Type=simple
@ -28,7 +28,7 @@ Environment="MAP_ATTRIBUTION="
Environment="WEATHER_API_KEY=" Environment="WEATHER_API_KEY="
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/.venv/bin/gunicorn -b 127.0.0.1:__PORT__ "fittrackee:create_app()" --error-logfile /var/log/__APP__/__APP__.log ExecStart=__INSTALL_DIR__/.venv/bin/gunicorn -b 127.0.0.1:__PORT__ "fittrackee:create_app()" --error-logfile /var/log/__APP__/__APP__.log
Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View file

@ -4,7 +4,7 @@ Description=__APP__ task queue service
After=network.target After=network.target
After=postgresql.service After=postgresql.service
After=redis.service After=redis.service
StartLimitIntervalSec=0
[Service] [Service]
Type=simple Type=simple
@ -25,7 +25,7 @@ Environment="SENDER_EMAIL="
Environment="REDIS_URL=" Environment="REDIS_URL="
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2 ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2
Restart=always
NoNewPrivileges=yes NoNewPrivileges=yes
PrivateTmp=yes PrivateTmp=yes

View file

@ -6,7 +6,6 @@ test_format = 1.0
# Tests to run # Tests to run
# ------------ # ------------
exclude = ["change_url"]
# ------------------------------- # -------------------------------
# Default args to use for install # Default args to use for install