diff --git a/conf/fittrackee.service b/conf/fittrackee.service index 6a5382f..cd341f2 100644 --- a/conf/fittrackee.service +++ b/conf/fittrackee.service @@ -4,7 +4,7 @@ Description=__APP__ service After=network.target After=postgresql.service After=redis.service -StartLimitIntervalSec=0 + [Service] Type=simple @@ -28,7 +28,7 @@ Environment="MAP_ATTRIBUTION=" Environment="WEATHER_API_KEY=" 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 -Restart=always + [Install] WantedBy=multi-user.target diff --git a/conf/fittrackee_workers.service b/conf/fittrackee_workers.service index 561127d..1c53056 100644 --- a/conf/fittrackee_workers.service +++ b/conf/fittrackee_workers.service @@ -4,7 +4,7 @@ Description=__APP__ task queue service After=network.target After=postgresql.service After=redis.service -StartLimitIntervalSec=0 + [Service] Type=simple @@ -25,7 +25,7 @@ Environment="SENDER_EMAIL=" Environment="REDIS_URL=" WorkingDirectory=__INSTALL_DIR__/ ExecStart=__INSTALL_DIR__/.venv/bin/flask worker --processes 2 -Restart=always + NoNewPrivileges=yes PrivateTmp=yes diff --git a/tests.toml b/tests.toml index 1ebe021..77b8c16 100644 --- a/tests.toml +++ b/tests.toml @@ -6,7 +6,6 @@ test_format = 1.0 # Tests to run # ------------ - exclude = ["change_url"] # ------------------------------- # Default args to use for install