mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
test
This commit is contained in:
parent
22a21985c0
commit
53605f56ab
3 changed files with 4 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue