mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
some cleaning
This commit is contained in:
parent
ee09cb74f0
commit
44ca253bd2
5 changed files with 3 additions and 13 deletions
|
@ -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
|
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
|
# Denying access to capabilities that should not be relevant for webapps
|
||||||
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||||
CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
|
CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "FitTrackee"
|
||||||
description.en = "Self-hosted outdoor activity tracker 🚴"
|
description.en = "Self-hosted outdoor activity tracker 🚴"
|
||||||
description.fr = "Traqueur d’activités extérieures auto-hébergé 🚴"
|
description.fr = "Traqueur d’activités extérieures auto-hébergé 🚴"
|
||||||
|
|
||||||
version = "0.7.25~ynh1"
|
version = "0.7.25~ynh2"
|
||||||
|
|
||||||
maintainers = ["Thovi98"]
|
maintainers = ["Thovi98"]
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@ ynh_script_progression --message="Configuring logrotate to manage application lo
|
||||||
ynh_use_logrotate --specific_user=$app
|
ynh_use_logrotate --specific_user=$app
|
||||||
touch /var/log/$app/$app.log
|
touch /var/log/$app/$app.log
|
||||||
touch /var/log/$app/${app}_workers.log
|
touch /var/log/$app/${app}_workers.log
|
||||||
touch /var/log/$app/gunicorn.log
|
|
||||||
chown -R $app:www-data /var/log/$app/
|
chown -R $app:www-data /var/log/$app/
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -115,9 +114,6 @@ yunohost service add "${app}_workers" --description="Fittrackee task queue servi
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -23,7 +23,6 @@ ynh_script_progression --message="Configuring logrotate to manage application lo
|
||||||
ynh_use_logrotate --specific_user=$app
|
ynh_use_logrotate --specific_user=$app
|
||||||
touch /var/log/$app/$app.log
|
touch /var/log/$app/$app.log
|
||||||
touch /var/log/$app/${app}_workers.log
|
touch /var/log/$app/${app}_workers.log
|
||||||
touch /var/log/$app/gunicorn.log
|
|
||||||
chown -R $app:www-data /var/log/$app/
|
chown -R $app:www-data /var/log/$app/
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -21,3 +21,4 @@ test_format = 1.0
|
||||||
test_upgrade_from.e49294c.name = "0.7.22"
|
test_upgrade_from.e49294c.name = "0.7.22"
|
||||||
test_upgrade_from.a446e8c.name = "0.7.23"
|
test_upgrade_from.a446e8c.name = "0.7.23"
|
||||||
test_upgrade_from.316dea4.name = "0.7.24"
|
test_upgrade_from.316dea4.name = "0.7.24"
|
||||||
|
test_upgrade_from.ea68daf.name = "0.7.25~ynh1"
|
Loading…
Reference in a new issue