From 44ca253bd2c4afcd6d868c987ed99d314986a9b6 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 10 Oct 2023 14:04:16 +0200 Subject: [PATCH] some cleaning --- conf/fittrackee.service | 6 ------ manifest.toml | 2 +- scripts/install | 4 ---- scripts/restore | 1 - tests.toml | 3 ++- 5 files changed, 3 insertions(+), 13 deletions(-) diff --git a/conf/fittrackee.service b/conf/fittrackee.service index 5cab9e3..91b859a 100644 --- a/conf/fittrackee.service +++ b/conf/fittrackee.service @@ -32,12 +32,6 @@ 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 - - - - - - # Denying access to capabilities that should not be relevant for webapps # Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD diff --git a/manifest.toml b/manifest.toml index f953b67..1ba8475 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "FitTrackee" description.en = "Self-hosted outdoor activity tracker 🚴" description.fr = "Traqueur d’activités extérieures auto-hébergé 🚴" -version = "0.7.25~ynh1" +version = "0.7.25~ynh2" maintainers = ["Thovi98"] diff --git a/scripts/install b/scripts/install index b49e7f1..b73c55f 100755 --- a/scripts/install +++ b/scripts/install @@ -20,7 +20,6 @@ ynh_script_progression --message="Configuring logrotate to manage application lo ynh_use_logrotate --specific_user=$app touch /var/log/$app/$app.log touch /var/log/$app/${app}_workers.log -touch /var/log/$app/gunicorn.log chown -R $app:www-data /var/log/$app/ #================================================= @@ -115,9 +114,6 @@ yunohost service add "${app}_workers" --description="Fittrackee task queue servi #================================================= # GENERIC FINALIZATION #================================================= - - - #================================================= # START SYSTEMD SERVICE #================================================= diff --git a/scripts/restore b/scripts/restore index be9370f..cdb059f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -23,7 +23,6 @@ ynh_script_progression --message="Configuring logrotate to manage application lo ynh_use_logrotate --specific_user=$app touch /var/log/$app/$app.log touch /var/log/$app/${app}_workers.log -touch /var/log/$app/gunicorn.log chown -R $app:www-data /var/log/$app/ #================================================= diff --git a/tests.toml b/tests.toml index 78078a6..dabba6b 100644 --- a/tests.toml +++ b/tests.toml @@ -20,4 +20,5 @@ test_format = 1.0 test_upgrade_from.9c094f9.name = "0.7.21" test_upgrade_from.e49294c.name = "0.7.22" test_upgrade_from.a446e8c.name = "0.7.23" - test_upgrade_from.316dea4.name = "0.7.24" \ No newline at end of file + test_upgrade_from.316dea4.name = "0.7.24" + test_upgrade_from.ea68daf.name = "0.7.25~ynh1" \ No newline at end of file